Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
SessionLifecycleDetails Class Reference

Description

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

Public Member Functions

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

Private Member Functions

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

Private Attributes

SessionPImplsession_
 
bool shall_load_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SessionLifecycleDetails()

SessionLifecycleDetails ( SessionPImpl currentSessionAccessPoint)
inline

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

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 102 of file sess-manager-impl.cpp.

◆ injectSessionContent()

void injectSessionContent ( )
inlineoverrideprivatevirtual

Implements LifecycleAdvisor.

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

◆ getSessionReady()

void getSessionReady ( )
inlineoverrideprivatevirtual

Implements LifecycleAdvisor.

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

◆ openSessionInterface()

void openSessionInterface ( )
inlineoverrideprivatevirtual

Implements LifecycleAdvisor.

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

◆ closeSessionInterface()

void closeSessionInterface ( )
inlineoverrideprivatevirtual

Implements LifecycleAdvisor.

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

◆ disconnectRenderProcesses()

void disconnectRenderProcesses ( )
inlineoverrideprivatevirtual

Implements LifecycleAdvisor.

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

◆ commandLogCheckpoint()

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

Implements LifecycleAdvisor.

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

◆ 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 173 of file sess-manager-impl.cpp.

Member Data Documentation

◆ session_

SessionPImpl& session_
private

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

◆ shall_load_

bool shall_load_
private

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

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

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