Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
MObjectFactory Class Reference

#include "steam/mobject/session/mobjectfactory.hpp"

Description

Definition at line 60 of file mobjectfactory.hpp.

Public Member Functions

Placement< Rootoperator() (lumiera::query::DefsManager &)
 build a new session/model root element.
 
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.
 
Placement< Clipoperator() (asset::Clip const &, vector< asset::Media const * >)
 variant of the Clip-MO factory function, creating a multichannel (compound) clip.
 
Placement< Forkoperator() (lib::idi::EntryID< Fork > const &)
 
Placement< Effectoperator() (asset::Effect const &)
 
Placement< Labeloperator() (lib::Symbol)
 build a new session/model root element.
 
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

◆ deleterFunc()

static void deleterFunc ( MObject o)
inlinestaticprivate

custom deleter function allowing Placement to take ownership of MObjct instances

Definition at line 65 of file mobjectfactory.hpp.

Referenced by MObjectFactory::operator()(), MObjectFactory::operator()(), and MObjectFactory::operator()().

+ Here is the caller graph for this function:

◆ operator()() [1/7]

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().

+ Here is the call graph for this function:

◆ operator()() [2/7]

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/7]

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.

◆ operator()() [4/7]

Placement< Fork > operator() ( lib::idi::EntryID< Fork > const &  )

◆ operator()() [5/7]

Placement< Effect > operator() ( asset::Effect const &  processorDef)

Definition at line 96 of file mobjectfactory.cpp.

◆ operator()() [6/7]

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:

◆ operator()() [7/7]

Placement< Binding > operator() ( asset::PSequence const &  )
+ Collaboration diagram for MObjectFactory:

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