40 #ifndef STEAM_MOBJECT_SESSION_LIFECYCLE_ADVISOR_H 41 #define STEAM_MOBJECT_SESSION_LIFECYCLE_ADVISOR_H 84 injectSessionContent();
87 openSessionInterface();
106 closeSessionInterface();
107 disconnectRenderProcesses();
109 commandLogCheckpoint();
120 emitEvent (
Symbol eventLabel)
139 virtual void injectSessionContent() =0;
145 virtual void getSessionReady() =0;
151 virtual void openSessionInterface() =0;
157 virtual void closeSessionInterface() =0;
163 virtual void disconnectRenderProcesses() =0;
169 virtual void commandLogCheckpoint() =0;
Installing and invoking of application lifecycle event callbacks.
const char * ON_SESSION_START
LifecycleHook, to perform all the basic setup for a new session, prior to adding any specific data...
virtual ~LifecycleAdvisor()
is ABC
void pullUp()
operation sequence to pull up the session.
Any copy and copy construction prohibited.
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
static void trigger(Symbol eventLabel)
trigger lifecycle callbacks registered under the given label
Skeleton of operations conducting the session lifecycle sequences.
Token or Atom with distinct identity.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
const char * ON_SESSION_READY
LifecycleHook, to perform post loading tasks, requiring an already completely usable and configured s...
Marker types to indicate a literal string and a Symbol.
virtual void createSessionFacilities()=0
Build and wire all the sub components together forming the session implementation.
virtual void deconfigure()=0
This final stage of the session lifecycle terminates the operational state of all parts of the curren...
const char * ON_SESSION_INIT
LifecycleHook, to perform any initialisation, wiring and registrations necessary to get the session i...
Lumiera error handling (C++ interface).
const char * ON_SESSION_END
LifecycleHook, to perform any state saving, deregistration or de-activation necessary before bringing...
Primary Interface to the current Session.
const char * ON_SESSION_CLOSE
LifecycleHook, to commence any activity relying on an opened and fully operative session.
void shutDown()
operation sequence for cleanly shutting down the session.