diff --git a/src/proc/mobject/session/lifecycle-advisor.hpp b/src/proc/mobject/session/lifecycle-advisor.hpp index ba6301a5d..b595273f2 100644 --- a/src/proc/mobject/session/lifecycle-advisor.hpp +++ b/src/proc/mobject/session/lifecycle-advisor.hpp @@ -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; }; diff --git a/src/proc/mobject/session/sess-manager-impl.cpp b/src/proc/mobject/session/sess-manager-impl.cpp index 426a1a5bd..123f83ac5 100644 --- a/src/proc/mobject/session/sess-manager-impl.cpp +++ b/src/proc/mobject/session/sess-manager-impl.cpp @@ -80,6 +80,10 @@ namespace session { + + + + namespace { // defining details of the Session Lifecycle typedef scoped_ptr 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)