![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "steam/mobject/output-designation.hpp"
Descriptor to denote the desired target of produced media data.
OutputDesignation is always an internal and relative specification and boils down to referring an asset::Pipe by ID. In order to become actually effective, some object within the model additionally needs to claim this pipe-ID, meaning that this object states to root and represent this pipe. When the builder encounters a pair of (OutputDesignation, OutputClaim), an actual stream connection will be wired in the processing node network.
Definition at line 72 of file output-designation.hpp.
Classes | |
| class | TargetSpec |
Public Types | |
| using | PID = asset::ID< asset::Pipe > |
| using | PPipe = asset::PPipe |
Public Member Functions | |
| OutputDesignation (PID explicitTarget) | |
| create an output designation by directly specifying the target to connect | |
| OutputDesignation (RefPlacement const &indirectTarget) | |
| create an output designation indirectly to be resolved by forwarding the resolution to the given reference scope / mediator. | |
| OutputDesignation (uint relative_busNr=0) | |
| create an output designation by relative specification, to be resolved based on the stream type and the actual default target object at hand when resolving. | |
| PID | resolve (PPipe origin) |
| retrieve the direct destination this descriptor is actually pointing to. | |
Private Types | |
| enum | { VTABLE = sizeof(size_t) , SPEC_SIZ } |
| typedef lib::OpaqueHolder< TargetSpec, SPEC_SIZ > | SpecBuff |
Private Attributes | |
| SpecBuff | spec_ |
| Storage to hold the Target Spec inline. | |
|
explicit |
create an output designation by directly specifying the target to connect
Definition at line 115 of file output-designation.cpp.
|
explicit |
create an output designation indirectly to be resolved by forwarding the resolution to the given reference scope / mediator.
Definition at line 124 of file output-designation.cpp.
|
explicit |
create an output designation by relative specification, to be resolved based on the stream type and the actual default target object at hand when resolving.
| relative_busNr | within the collection of target pipes available for the actual stream type to connect |
Definition at line 138 of file output-designation.cpp.
| using PID = asset::ID<asset::Pipe> |
Definition at line 75 of file output-designation.hpp.
| using PPipe = asset::PPipe |
Definition at line 76 of file output-designation.hpp.
|
private |
Definition at line 118 of file output-designation.hpp.
|
private |
| Enumerator | |
|---|---|
| VTABLE | |
| SPEC_SIZ | |
Definition at line 112 of file output-designation.hpp.
retrieve the direct destination this descriptor is actually pointing to.
In case of a target pipe not explicitly specified this might involve a resolution step and take the current context into account.
| origin | starting point for figuring out connections |
Definition at line 96 of file output-designation.hpp.
References OutputDesignation::TargetSpec::resolve(), and OutputDesignation::spec_.
Here is the call graph for this function:
|
private |
Storage to hold the Target Spec inline.
Definition at line 122 of file output-designation.hpp.
Referenced by OutputDesignation::resolve().
Collaboration diagram for OutputDesignation: