Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/mobject/session/root.hpp"
High-level model root element, corresponding to the global session wide scope.
Serves as link to any definitions, rules and defaults valid throughout this session. Will be created automatically and inserted into the PlacementIndex of an empty session; causes the globals to be saved/loaded alongside with the model.
Public Member Functions | |
Root (lumiera::query::DefsManager &) | |
DEFINE_PROCESSABLE_BY (builder::BuilderTool) | |
Public Member Functions inherited from AbstractMO | |
Duration & | getLength () |
bool | operator== (const MObject &oo) const |
default/fallback implementation of equality using literal object identity (same address). More... | |
Public Member Functions inherited from MObject | |
string const & | shortID () const |
a short readable ID as a single name-token, denoting both the kind of MObject and some sort of instance identity. More... | |
Public Member Functions inherited from Visitable< builder::BuilderTool > | |
virtual ReturnType | apply (builder::BuilderTool &)=0 |
to be defined by the DEFINE_PROCESSABLE_BY macro in all classes wanting to be treated by some tool | |
Static Public Member Functions | |
static lib::idi::EntryID< Root > | getAssetID () |
static lib::idi::EntryID< Root > | getID () |
get an unique ID to identify "the model root". More... | |
Private Member Functions | |
string | initShortID () const |
virtual bool | isValid () const |
Private Attributes | |
lumiera::query::DefsManager & | defaults_ |
Additional Inherited Members | |
Public Types inherited from Visitable< builder::BuilderTool > | |
typedef builder::BuilderTool ::ReturnType | ReturnType |
Static Public Attributes inherited from MObject | |
static session::MObjectFactory | create |
Storage for the (single, static) MObject factory object. | |
Protected Types inherited from MObject | |
typedef lib::time::Duration | Duration |
Protected Types inherited from Visitable< builder::BuilderTool > | |
typedef builder::BuilderTool ::ToolBase | ToolBase |
Protected Member Functions inherited from AbstractMO | |
string | buildShortID (lib::Literal typeID, string suffix="") const |
void | throwIfInvalid () const |
Static Protected Member Functions inherited from Visitable< builder::BuilderTool > | |
static ReturnType | dispatchOp (TAR &target, builder::BuilderTool &tool) |
Protected Attributes inherited from MObject | |
Duration | length_ |
string | shortID_ |
|
privatevirtual |
|
static |
get an unique ID to identify "the model root".
Actually this ID is statically fixed and will be used by the UI to connect to and talk to the session model at top-level