Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/mobject/session/sess-manager-impl.hpp"
Session manager implementation class holding the actual smart pointer to the current Session impl.
Definition at line 61 of file sess-manager-impl.hpp.
Public Member Functions | |
virtual SessionImplAPI * | operator-> () noexcept override |
Access to the "current session", which actually is an SessionImpl instance. More... | |
Friends | |
class | lib::DependencyFactory< SessManagerImpl > |
Private Member Functions | |
SessManagerImpl () | |
Starting up the session access and lifecycle management. More... | |
virtual void | clear () override |
virtual void | close () override |
Shut down the current session together with all associated services. More... | |
virtual bool | isUp () override |
diagnostics: session interface opened? | |
virtual void | load () override |
virtual void | reset () override |
virtual void | save (string) override |
Private Attributes | |
unique_ptr< LifecycleAdvisor > | lifecycle_ |
unique_ptr< SessionImplAPI > | pSess_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Sync< CONF > | |
static Monitor & | getMonitor (Sync const *forThis) |
|
private |
Starting up the session access and lifecycle management.
Initially (at static init time), only the single system-wide Session manger instance is created. It can be used to load an existing session; otherwise an empty default Session, together with the core facilities (PlacementIndex, AssetManager, Query subsystem and the Defaults manager) is created on first access to the session object.
Definition at line 212 of file sess-manager-impl.cpp.
References Session::initFlag.
|
overrideprivatevirtual |
Implements SessManager.
Definition at line 239 of file sess-manager-impl.cpp.
|
overrideprivatevirtual |
Shut down the current session together with all associated services.
avoid blocking when aborting render processes ///////////// TICKET #201
well defined transactional behaviour ///////////////////// TICKET #698
Implements SessManager.
Definition at line 252 of file sess-manager-impl.cpp.
References SessManagerImpl::isUp().
|
overrideprivatevirtual |
error handling, how to deal with a partially configured session?
for reset()
to work, we need to change the implementation of AssetManager so support this kind of transactional switch!
Implements SessManager.
Definition at line 267 of file sess-manager-impl.cpp.
References SessManagerImpl::isUp().
Referenced by SessManagerImpl::operator->().
|
overrideprivatevirtual |
Implements SessManager.
Definition at line 279 of file sess-manager-impl.cpp.
References SessManagerImpl::isUp().
|
overrideprivatevirtual |
Implements SessManager.
Definition at line 298 of file sess-manager-impl.cpp.
|
overridevirtualnoexcept |
Access to the "current session", which actually is an SessionImpl instance.
This session object is created either by loading an existing session, or on demand by this accessor function here (when no session was loaded or created)
Implements SessManager.
Definition at line 72 of file sess-manager-impl.cpp.
References SessManagerImpl::reset().