Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/asset/pipe.hpp"
structural asset corresponding to the part of the model forming a processing pipe for generating media output
Public Member Functions | |
virtual const ID< Pipe > & | getID () const |
< More... | |
string const & | getPipeID () const |
PProcPatt const & | getProcPatt () const |
StreamType::ID | getStreamID () const |
void | switchProcPatt (PProcPatt &another) |
use another wiring template. More... | |
Public Member Functions inherited from Asset | |
bool | enable (bool on=true) |
change the enabled status of this asset. More... | |
const vector< PAsset > & | getDependant () const |
All the other assets requiring this asset to be functional. More... | |
const vector< PAsset > & | getParents () const |
List of entities this asset depends on or requires to be functional. More... | |
bool | isActive () const |
weather this asset is switched on and consequently included in the fixture and participates in rendering More... | |
virtual | operator string () const |
bool | operator< (Asset const &oa) const |
bool | operator== (Asset const &oa) const |
Static Public Member Functions | |
static PPipe | lookup (ID< Pipe > id) |
convenience shortcut for lookup by id More... | |
static PPipe | query (string const &properties) |
convenience shortcut for retrieving default configured pipes | |
Public Attributes | |
string | longDesc |
string | shortDesc |
Public Attributes inherited from Asset | |
const Ident | ident |
Asset identification tuple. | |
Friends | |
class | StructFactoryImpl |
Protected Member Functions | |
Pipe (Asset::Ident const &, string const &streamID, PProcPatt &wiring, string shortName="", string longName="") | |
Create and register a new Pipe asset. More... | |
Protected Member Functions inherited from Struct | |
Struct (const Asset::Ident &idi) | |
Protected Member Functions inherited from Asset | |
Asset (const Ident &idi) | |
Asset is a Interface class; usually, objects of concrete subclasses are created via specialised Factories. More... | |
virtual | ~Asset ()=0 |
void | defineDependency (PAsset parent) |
establish a connection between this and the given parent asset, denoting we are in some way dependent on the parent. More... | |
void | defineDependency (Asset &parent) |
virtual void | unlink () |
release all links to other Asset objects held internally. More... | |
virtual void | unlink (IDA target) |
variant of unlink() dropping only the links to the given specific Asset, leaving all other links intact. More... | |
Private Attributes | |
StreamType::ID | streamID_ |
PProcPatt | wiringTemplate_ |
Additional Inherited Members | |
Static Public Attributes inherited from Struct | |
static StructFactory | retrieve |
storage for the static StructFactory instance | |
Protected Attributes inherited from Asset | |
vector< PAsset > | dependants |
bool | enabled |
set< string > | groups |
additional classification, selections or departments this asset belongs to. More... | |
const ID< Asset > | id |
Asset primary key. | |
const string | longDesc |
user visible qualification of the thing, unit or concept represented by this asset. More... | |
vector< PAsset > | parents |
const string | shortDesc |
user visible Name-ID. More... | |
|
protected |
Create and register a new Pipe asset.
Usually, this is triggered automatically by referring to the pipeID. When building the render network, the given processing pattern will be executed, allowing for all sorts of default wiring.
streamID | /////////////////////////////////////TICKET #648 |
void switchProcPatt | ( | PProcPatt & | another | ) |
convenience shortcut for lookup by id
id | asset-ID of the pipe to retrieve |
error::Invalid | when not found |
Definition at line 67 of file pipe.cpp.
References AssetManager::instance.
Referenced by ID< Pipe >::streamType().