![]() |
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) | |
![]() | |
Duration & | getLength () |
bool | operator== (const MObject &oo) const |
default/fallback implementation of equality using literal object identity (same address). More... | |
![]() | |
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... | |
![]() | |
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 | |
![]() | |
typedef builder::BuilderTool ::ReturnType | ReturnType |
![]() | |
static session::MObjectFactory | create |
Storage for the (single, static) MObject factory object. | |
![]() | |
typedef lib::time::Duration | Duration |
![]() | |
typedef builder::BuilderTool ::ToolBase | ToolBase |
![]() | |
string | buildShortID (lib::Literal typeID, string suffix="") const |
void | throwIfInvalid () const |
![]() | |
static ReturnType | dispatchOp (TAR &target, builder::BuilderTool &tool) |
![]() | |
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