Lumiera  0.pre.03
»edit your freedom«
SessionLifecycleDetails Class Reference

Description

Definition at line 99 of file sess-manager-impl.cpp.

Public Member Functions

 SessionLifecycleDetails (SessionPImpl &currentSessionAccessPoint)
 
- Public Member Functions inherited from LifecycleAdvisor
virtual ~LifecycleAdvisor ()
 is ABC
 
void pullUp ()
 operation sequence to pull up the session. More...
 
void shutDown ()
 operation sequence for cleanly shutting down the session. More...
 

Private Member Functions

void closeSessionInterface () override
 
void commandLogCheckpoint () override
 
void createSessionFacilities () override
 
void deconfigure () override
 This final stage of the session lifecycle terminates the operational state of all parts of the current session. More...
 
void disconnectRenderProcesses () override
 
void getSessionReady () override
 
void injectSessionContent () override
 
void openSessionInterface () override
 

Private Attributes

SessionPImpl & session_
 
bool shall_load_
 

Additional Inherited Members

- Protected Member Functions inherited from LifecycleAdvisor
void emitEvent (Symbol eventLabel)
 

Member Function Documentation

◆ createSessionFacilities()

void createSessionFacilities ( )
inlineoverrideprivatevirtual
Note
Any session services come up into default configured state. After the swap, tmpS holds onto the old session, which consequently should unwind on leaving this scope.

Implements LifecycleAdvisor.

Definition at line 111 of file sess-manager-impl.cpp.

References SteamDispatcher::instance.

◆ commandLogCheckpoint()

void commandLogCheckpoint ( )
inlineoverrideprivatevirtual
Warning
throws error::Fatal or even deadlocks when called from session thread

Implements LifecycleAdvisor.

Definition at line 174 of file sess-manager-impl.cpp.

References SteamDispatcher::instance.

◆ deconfigure()

void deconfigure ( )
inlineoverrideprivatevirtual

This final stage of the session lifecycle terminates the operational state of all parts of the current session.

When entering this phase, it can be assumed that no entity from outside the session will access any of these parts anymore. Now, all the internal indices and knowledge registries are advised to purge, thereby rendering any session content officially non-existent.

Note
even after leaving this phase, all session components remain valid and basically operational. Already disconnected render processes might still access implementation facilities or session content. The actual unwinding and destruction is controlled by memory management and thus by reference count.

Implements LifecycleAdvisor.

Definition at line 182 of file sess-manager-impl.cpp.

References ConfigResolver::instance.

+ Inheritance diagram for SessionLifecycleDetails:
+ Collaboration diagram for SessionLifecycleDetails:

The documentation for this class was generated from the following file: