47 , contents_(
MObject::create (defaultsManager_))
48 , fixture_(new fixture::Fixture)
50 INFO (
session,
"new Session created.");
67 throw error::Fatal (
"unexpected exception while clearing the session");
91 newAttachedInstance.activate(
93 return newAttachedInstance;
112 if (
Scope(placement).isRoot())
114 ,
LERR_(INVALID_SCOPE));
117 currentFocus.
shift (
Scope(placement).getParent());
145 UNIMPLEMENTED (
"rebuild Fixture");
MObject is the interface class for all "Media Objects".
The (current) Session holds all the user visible content to be edited and manipulated within the Lumi...
PlacementMO & getRoot() const
retrieve the logical root scope
bool contains(PlacementMO const &) const
ID insert(PlacementMO const &newObj, ID targetScope)
Add a new Placement (Object "instance") into the index.
void clear(ID targetScope)
recursively kill a complete scope, including the given element and all children.
Current focus location to use as point-of reference for contents and location discovery queries.
QueryFocus & shift(Scope const &)
shift this QueryFocus to a container-like scope, causing it to navigate, changing the current ScopePa...
RefPlacement currentPoint() const
A Placement scope within the high-level-model.
virtual void rebuildFixture() override
SessionImpl()
create a new empty session with default values.
virtual MObjectRef attach(PMO const &placement) override
attach a copy within the scope of the current QueryFocus point
virtual PFixture & getFixture() override
virtual MObjectRef getRoot() override
virtual bool isValid() override
virtual bool detach(PMO const &placement) override
detach the denoted object (placement) from model, together with any child objects contained in the sc...
Lumiera error handling (C++ interface).
Core abstraction of the Session model: a media object.
Core factory to generate media objects for use in the Session model.
LumieraError< LERR_(FATAL), Logic > Fatal
LumieraError< LERR_(INVALID)> Invalid
Namespace of Session and user visible high-level objects.
MORef< MObject > MObjectRef
Steam-Layer implementation namespace root.
Core abstraction: placement of a media object into session context.
Representation of the current scope when navigating the session model.
Session and SessionServices Implementation classes.
Collection of implementation components, providing self-contained sub-elements exposed on the public ...