![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Primary Interface to the current Session. More...
Go to the source code of this file.
Primary Interface to the current Session.
The session interface can be used to discover session contents. Mostly, these objects within the session are MObject subclasses, but they are attached into the session by a Placement. Usually, you'd want to use the discovered objects to invoke operations on them; in most cases, invoking any mutating operation should be wrapped into a Command.
The Interface Session is abstract and only accessible via the static field Session::current, which actually refers to a SessManager singleton instance. The latter acts as smart ptr-to-Impl for accessing the current session, but at the same time exposes a lifecycle/management API.
Definition in file session.hpp.
#include "steam/mobject/placement.hpp"#include "steam/mobject/mobject-ref.hpp"#include "common/query/defs-manager.hpp"#include "lib/depend.hpp"#include "lib/symbol.hpp"#include "lib/p.hpp"#include <memory>#include <vector>Namespaces | |
| namespace | steam |
| Steam-Layer implementation namespace root. | |
| namespace | steam::asset |
| The asset subsystem of the Steam-Layer. | |
| namespace | steam::fixture |
| Fixture and low-level-Model. | |
| namespace | steam::mobject |
| Media-Objects, edit operations and high-level session. | |
| namespace | steam::mobject::session |
| Namespace of Session and user visible high-level objects. | |
Typedefs | |
| typedef session::SessManager & | PSess |
| acts as a "PImpl" smart ptr | |
Classes | |
| class | Session |
| The (current) Session holds all the user visible content to be edited and manipulated within the Lumiera Application. More... | |
| class | SessManager |
| creation, access and Session lifecycle Interface. More... | |
Functions | |
| LUMIERA_ERROR_DECLARE (CREATE_SESSION) | |
| unable to create basic session. | |
Variables | |
| const char * | ON_SESSION_START = "ON_SESSION_START" |
| triggered before loading any content into a newly created session | |
| const char * | ON_SESSION_INIT = "ON_SESSION_INIT" |
| triggered when initialising a new session, after adding content | |
| const char * | ON_SESSION_READY = "ON_SESSION_READY" |
| triggered after session is completely functional and all APIs are open. | |
| const char * | ON_SESSION_CLOSE ="ON_SESSION_CLOSE" |
| triggered before initiating the session shutdown sequence | |
| const char * | ON_SESSION_END ="ON_SESSION_END" |
| triggered before discarding an existing session | |