mobject::session::SessionImpl Class Reference

#include <sessionimpl.hpp>

Inheritance diagram for mobject::session::SessionImpl:

Inheritance graph
[legend]
Collaboration diagram for mobject::session::SessionImpl:

Collaboration graph
[legend]

List of all members.


Detailed Description

Implementation class for the Session interface.

Definition at line 59 of file sessionimpl.hpp.


Public Member Functions

virtual void add (PMO &placement)
virtual EDL & currEDL ()
virtual PFix & getFixture ()
virtual bool isValid ()
virtual void rebuildFixture ()
virtual bool remove (PMO &placement)

Protected Member Functions

void clear ()
 SessionImpl (DefsManager &) throw ()
 create a new empty session with default values.

Protected Attributes

vector< EDL > edls
PFix fixture
uint focusEDL_

Friends

class SessManagerImpl

Constructor & Destructor Documentation

mobject::session::SessionImpl::SessionImpl ( DefsManager defs  )  throw () [protected]

create a new empty session with default values.

Note:
any exception arising while creating this default session will inevitably halt the system (and this is desirable)

Definition at line 38 of file sessionimpl.cpp.

00039       : Session(defs),
00040         focusEDL_(0),
00041         edls(1), 
00042         fixture(new Fixture) 
00043       {
00044       }


Member Function Documentation

void mobject::session::SessionImpl::clear (  )  [protected]

For internal use only.

used by SessionManager::clear discard all EDL content, without touching global configuration.

Definition at line 52 of file sessionimpl.cpp.

00053     {
00054       try
00055         {
00056           edls.clear();
00057           edls.resize(1);
00058           focusEDL_ = 0;
00059         }
00060       catch (...)
00061         {
00062           focusEDL_ = 0;
00063           throw lumiera::error::Fatal ("unexpected exception while clearing EDLs");
00064         }
00065     }

EDL & mobject::session::SessionImpl::currEDL (  )  [virtual]

Deprecated:
should not grant direct access to EDL objects

Implements mobject::Session.

Definition at line 92 of file sessionimpl.cpp.

00093     { 
00094       ASSERT (focusEDL_ < edls.size());
00095       return  edls[focusEDL_];
00096     }


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

Generated on Fri Nov 7 22:15:58 2008 for Lumiera by  doxygen 1.5.6