Lumiera  0.pre.03
»edit your freedom«
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MObjectFactory Class Reference

Description

Definition at line 60 of file mobjectfactory.hpp.

Public Member Functions

Placement< Rootoperator() (lumiera::query::DefsManager &)
 build a new session/model root element. More...
 
Placement< Clipoperator() (asset::Clip const &, asset::Media const &)
 creating a Clip-MObject to be placed within the Session, based on a clip asset, which typically is obtained by calling the createClip()-function on some asset::Media. More...
 
Placement< Clipoperator() (asset::Clip const &, vector< asset::Media const *>)
 variant of the Clip-MO factory function, creating a multichannel (compound) clip. More...
 
Placement< Forkoperator() (lib::idi::EntryID< Fork > const &)
 
Placement< Effectoperator() (asset::Effect const &)
 
Placement< Labeloperator() (lib::Symbol)
 build a new session/model root element. More...
 
Placement< Bindingoperator() (asset::PSequence const &)
 

Static Private Member Functions

static void deleterFunc (MObject *o)
 custom deleter function allowing Placement to take ownership of MObjct instances
 

Member Function Documentation

◆ operator()() [1/4]

Placement< Root > operator() ( lumiera::query::DefsManager sessionDefaultsHandler)

build a new session/model root element.

Definition at line 43 of file mobjectfactory.cpp.

References MObjectFactory::deleterFunc().

Referenced by MObjectFactory::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator()() [2/4]

Placement< Clip > operator() ( asset::Clip const &  clipRef,
asset::Media const &  mediaDef 
)

creating a Clip-MObject to be placed within the Session, based on a clip asset, which typically is obtained by calling the createClip()-function on some asset::Media.

The newly created Clip-MO is (back)linked with this media Asset internally and wrapped into a Placement, which takes ownership. So, when the render engine gets across this Clip-MO, it is able to obtain the media information contained in the corresponding media asset.

Parameters
mediaDefthe actual asset::Media to be used created Clip could be a compound (multichannel) clip comprised of several SimpleClip sub-objects.

Definition at line 70 of file mobjectfactory.cpp.

References MObjectFactory::deleterFunc().

+ Here is the call graph for this function:

◆ operator()() [3/4]

Placement< Clip > operator() ( asset::Clip const &  clipRef,
vector< asset::Media const *>  mediaTracks 
)

variant of the Clip-MO factory function, creating a multichannel (compound) clip.

Todo:
work out the details of multichannel handling

Definition at line 80 of file mobjectfactory.cpp.

References MObjectFactory::deleterFunc(), and MObjectFactory::operator()().

+ Here is the call graph for this function:

◆ operator()() [4/4]

Placement< Label > operator() ( lib::Symbol  labelType)

build a new session/model root element.

Definition at line 51 of file mobjectfactory.cpp.

References MObjectFactory::deleterFunc().

+ Here is the call graph for this function:
+ Collaboration diagram for MObjectFactory:

The documentation for this class was generated from the following files: