stubbed the lifecycle operations
This commit is contained in:
parent
9bdfface63
commit
85b62d99dc
2 changed files with 111 additions and 0 deletions
|
|
@ -128,6 +128,54 @@ namespace session {
|
|||
{
|
||||
lumiera::LifecycleHook::trigger (eventLabel);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void createSessionFacilities() =0;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void injectSessionContent() =0;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void getSessionReady() =0;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void openSessionInterface() =0;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void closeSessionInterface() =0;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void disconnectRenderProcesses() =0;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void commandLogCheckpoint() =0;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
virtual void deconfigure() =0;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -80,6 +80,10 @@ namespace session {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
namespace { // defining details of the Session Lifecycle
|
||||
|
||||
typedef scoped_ptr<SessionImplAPI> SessionPImpl;
|
||||
|
|
@ -90,6 +94,65 @@ namespace session {
|
|||
SessionPImpl & session_;
|
||||
|
||||
|
||||
|
||||
void
|
||||
createSessionFacilities()
|
||||
{
|
||||
UNIMPLEMENTED ("create session implementation objects, pImpl switch");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
injectSessionContent()
|
||||
{
|
||||
UNIMPLEMENTED ("load default content of de-serialise");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
getSessionReady()
|
||||
{
|
||||
UNIMPLEMENTED ("any wiring and configuration to get the session ready");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
openSessionInterface()
|
||||
{
|
||||
UNIMPLEMENTED ("open layer separation interface");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
closeSessionInterface()
|
||||
{
|
||||
UNIMPLEMENTED ("shut down layer separation interface");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
disconnectRenderProcesses()
|
||||
{
|
||||
UNIMPLEMENTED ("halt rendering");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
commandLogCheckpoint()
|
||||
{
|
||||
UNIMPLEMENTED ("tag command log");
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
deconfigure()
|
||||
{
|
||||
UNIMPLEMENTED ("anything berfore destroying objects");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
SessionLifecycleDetails(SessionPImpl& currentSessionAccessPoint)
|
||||
: session_(currentSessionAccessPoint)
|
||||
|
|
|
|||
Loading…
Reference in a new issue