![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "steam/mobject/session.hpp"
The (current) Session holds all the user visible content to be edited and manipulated within the Lumiera Application.
From a users perspective, it is a collection of Media Objects (--> MObject) placed (--> Placement) onto virtual Tracks.
Opening a Session has effectively global consequences, because the Session defines the available Assets, and some kinds of Assets define default behaviour. Thus, access to the Session is similar to a Singleton, through Session::current Besides the SessionManager, several sub-interfaces are exposed as embedded components: DefaultsManger, timelines and sequences.
Definition at line 100 of file session.hpp.
Static Public Attributes | |
| static bool | initFlag = false |
| temporary fix for init problems | |
| static session::SessManager & | current = theSessionManager() |
| access point to the current Session | |
Public Attributes | |
| DefaultsAccess | defaults |
| manages default configured objects | |
| ElementsAccess | elements |
| TimelineAccess | timelines |
| collection of timelines (top level) | |
| SequenceAccess | sequences |
| collection of sequences | |
Public Member Functions | |
| virtual bool | isValid ()=0 |
| virtual MObjectRef | attach (PMO const &placement)=0 |
| virtual bool | detach (PMO const &placement)=0 |
| virtual MObjectRef | getRoot ()=0 |
| virtual fixture::PFixture & | getFixture ()=0 |
| virtual void | rebuildFixture ()=0 |
Protected Types | |
| typedef lumiera::query::DefsManager & | DefaultsAccess |
| typedef session::ElementQuery & | ElementsAccess |
| typedef std::vector< asset::PTimeline > const & | TimelineAccess |
| typedef std::vector< asset::PSequence > const & | SequenceAccess |
Protected Member Functions | |
| Session (DefaultsAccess, ElementsAccess, TimelineAccess, SequenceAccess) noexcept | |
| virtual | ~Session () |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
|
protectednoexcept |
Definition at line 130 of file session.cpp.
|
protectedvirtual |
Definition at line 143 of file session.cpp.
|
protected |
Definition at line 104 of file session.hpp.
|
protected |
Definition at line 105 of file session.hpp.
|
protected |
Definition at line 106 of file session.hpp.
|
protected |
Definition at line 107 of file session.hpp.
|
pure virtual |
Implemented in SessionImpl.
Referenced by SessionModifyParts_test::addForks(), SessionModifyParts_test::addObjects(), SessionManager_test::getCurrentSession(), TimelineSequenceHandling_test::indirect_SequenceHandling(), SessionModifyParts_test::removeParts(), RebuildFixture_test::run(), TimelineSequenceHandling_test::verify_creation(), SessionStructure_test::verify_defaultStructure(), SessionElementTracker_test::verify_integration(), TimelineSequenceHandling_test::verify_removalBinding(), TimelineSequenceHandling_test::verify_removalSequence(), TimelineSequenceHandling_test::verify_removalTimeline(), and TimelineSequenceHandling_test::verify_retrieval().
Here is the caller graph for this function:
|
pure virtual |
Implemented in SessionImpl.
Referenced by SessionModifyParts_test::addForks(), SessionModifyParts_test::addObjects(), and AddClip_test::run().
Here is the caller graph for this function:
|
pure virtual |
Implemented in SessionImpl.
|
pure virtual |
Implemented in SessionImpl.
Referenced by SessionModifyParts_test::addObjects(), StructFactoryImpl::fabricate(), StructFactoryImpl::getFork_forSequence(), TimelineSequenceHandling_test::indirect_SequenceHandling(), and SessionModifyParts_test::removeParts().
Here is the caller graph for this function:
|
pure virtual |
Implemented in SessionImpl.
Referenced by SessionStructure_test::verify_defaultStructure().
Here is the caller graph for this function:
|
pure virtual |
Implemented in SessionImpl.
Referenced by RebuildFixture_test::run().
Here is the caller graph for this function:
|
static |
temporary fix for init problems
Definition at line 118 of file session.hpp.
Referenced by SessManagerImpl::SessManagerImpl(), SessManagerImpl::~SessManagerImpl(), and SessionServiceFetch::isAccessible().
|
static |
access point to the current Session
the sole access point for all client code to the system-wide "current session".
Implemented as smart pointer to singleton implementation object, where the smart pointer is actually the SessionManager (which is singleton as well...).
Consequently, if you want to talk to the session manager, you use dot-notation, while you access the session object via arrow notation (e.g. Session::current->getFixture() )
Definition at line 120 of file session.hpp.
Referenced by SessionModifyParts_test::addForks(), SessionModifyParts_test::addObjects(), StreamTypeLifecycle_test::check_pristineState(), SessionManager_test::clearSession(), steam::cmd::COMMAND_DEFINITION(), DefsManagerImpl_test::create(), BasicPipe_test::create_using_default(), DefsManagerImpl_test::define_and_search(), BasicPipe_test::dependProcPatt(), StructFactoryImpl::fabricate(), StructFactoryImpl::fabricate(), MockTable::fabricate_Sequence_on_demand(), MockTable::fabricate_Timeline_on_demand(), DefsManager_test::failureCreatesNewDefault(), steam::mobject::session::test::anonymous_namespace{defs-manager-impl-test.cpp}::find(), steam::mobject::session::test::find(), DefsManagerImpl_test::forget(), SessionManager_test::getCurrentSession(), StructFactoryImpl::getFork_forSequence(), TimelineSequenceHandling_test::indirect_SequenceHandling(), SessionServiceFetch::isAccessible(), SessionModifyParts_test::removeParts(), SessionManager_test::resetSession(), DefsManager_test::retrieveSimpleDefault(), RebuildFixture_test::run(), AddClip_test::run(), DeleteClip_test::run(), SessionModifyParts_test::run(), SessionStructure_test::run(), TimelineSequenceHandling_test::run(), LookupPreconfigured::try_special_case(), SessionElementTracker_test::verify_cleanup(), TimelineSequenceHandling_test::verify_creation(), SessionStructure_test::verify_defaultStructure(), SessionElementTracker_test::verify_integration(), TimelineSequenceHandling_test::verify_removalBinding(), TimelineSequenceHandling_test::verify_removalSequence(), TimelineSequenceHandling_test::verify_removalTimeline(), TimelineSequenceHandling_test::verify_retrieval(), and DefsManager_test::verifyRemoval().
| DefaultsAccess defaults |
manages default configured objects
Definition at line 122 of file session.hpp.
Referenced by SessionModifyParts_test::addForks(), DefsManagerImpl_test::create(), BasicPipe_test::create_using_default(), StructFactoryImpl::fabricate(), DefsManager_test::failureCreatesNewDefault(), DefsManager_test::retrieveSimpleDefault(), TimelineSequenceHandling_test::verify_retrieval(), and DefsManager_test::verifyRemoval().
| ElementsAccess elements |
Definition at line 123 of file session.hpp.
Referenced by StructFactoryImpl::getFork_forSequence().
| TimelineAccess timelines |
collection of timelines (top level)
Definition at line 124 of file session.hpp.
Referenced by MockTable::fabricate_Timeline_on_demand(), SessionModifyParts_test::removeParts(), TimelineSequenceHandling_test::verify_creation(), SessionStructure_test::verify_defaultStructure(), SessionElementTracker_test::verify_integration(), TimelineSequenceHandling_test::verify_removalBinding(), TimelineSequenceHandling_test::verify_removalSequence(), TimelineSequenceHandling_test::verify_removalTimeline(), and TimelineSequenceHandling_test::verify_retrieval().
| SequenceAccess sequences |
collection of sequences
Definition at line 125 of file session.hpp.
Referenced by SessionModifyParts_test::addObjects(), MockTable::fabricate_Sequence_on_demand(), TimelineSequenceHandling_test::indirect_SequenceHandling(), SessionModifyParts_test::removeParts(), TimelineSequenceHandling_test::verify_creation(), SessionStructure_test::verify_defaultStructure(), TimelineSequenceHandling_test::verify_removalBinding(), TimelineSequenceHandling_test::verify_removalSequence(), TimelineSequenceHandling_test::verify_removalTimeline(), and TimelineSequenceHandling_test::verify_retrieval().
Inheritance diagram for Session:
Collaboration diagram for Session: