Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

AlephSession Class Reference

Main Alpha++ object. Instanciated in alpha++_main. More...

#include <AlephSession.h>

Collaboration diagram for AlephSession:

Collaboration graph
[legend]
List of all members.

Public Methods

void setSessionType (const string &theType)
 set the session type. More...

string sessionType () const
 get the session type. More...

AlephRC initialize ()
 the initialization step. More...

AlephRC run ()
 the running step. More...

AlephRC terminate ()
 the terminating step. More...

AlephManageraAlephManager (const string &aManager) const
 get a pointer to a specific manager. More...

void startTimer (bool precision=false)
void stopTimer (bool precision=false)
void setDebugLevel (const int &aLevel)
 set the debug output level. More...

int debugLevel () const
 get the debug output level. More...


Static Public Methods

AlephSession* TheAlephSession ()
 the instance function of the Singleton. More...


Protected Methods

 AlephSession ()
 ~AlephSession ()

Private Attributes

string _thisSessionType
AlephManager_theAlephDbManager
AlephManager_theAlephIoManager
AlephManager_theAlephExManager
time_t _startTime
time_t _endTime
clock_t _startClock
clock_t _endClock
double init_time
double run_time
double term_time
int _debugLevel

Static Private Attributes

AlephSession* _theAlephSession = 0

Detailed Description

Main Alpha++ object. Instanciated in alpha++_main.

Definition at line 26 of file AlephSession.h.


Constructor & Destructor Documentation

AlephSession::AlephSession ( ) [protected]
 

Definition at line 43 of file AlephSession.cpp.

AlephSession::~AlephSession ( ) [protected]
 

Definition at line 57 of file AlephSession.cpp.


Member Function Documentation

AlephSession * AlephSession::TheAlephSession ( ) [static]
 

the instance function of the Singleton.

Definition at line 29 of file AlephSession.cpp.

Referenced by AlephCardsReader::AlephCardsReader(), AlephManager::AlephManagerSetup(), AlephROOTDbManager::GetEvent(), AlephDbManager::TheAlephDbManager(), AlephExManager::TheAlephExManager(), AlephROOTExManager::initialize(), AlephROOTDbManager::initialize(), AlephExManager::initialize(), AlephEpioExManager::initialize(), AlephROOTExManager::loopAll(), AlephEpioExManager::loopAll(), AlephROOTExManager::loopAllRead(), AlephEpioExManager::loopAllRead(), AlephEpioExManager::loopAllWrite(), AlephROOTExManager::loopInter(), AlephEpioExManager::loopInter(), AlephROOTExManager::loopInterRead(), AlephEpioExManager::loopInterRead(), main(), AlephROOTExManager::run(), AlephEpioExManager::run(), AlephExManager::theDbm(), and AlephExManager::theSession().

AlephManager * AlephSession::aAlephManager ( const string & aManager ) const
 

get a pointer to a specific manager.

Definition at line 101 of file AlephSession.cpp.

Referenced by AlephROOTDbManager::GetEvent(), AlephDbManager::TheAlephDbManager(), AlephExManager::TheAlephExManager(), AlephROOTExManager::initialize(), AlephROOTDbManager::initialize(), AlephExManager::initialize(), AlephEpioExManager::initialize(), AlephROOTExManager::loopAll(), AlephEpioExManager::loopAll(), AlephEpioExManager::loopAllWrite(), AlephROOTExManager::loopInter(), AlephEpioExManager::loopInter(), AlephROOTExManager::run(), AlephEpioExManager::run(), AlephExManager::theDbm(), and AlephExManager::theIom().

int AlephSession::debugLevel ( ) const
 

get the debug output level.

Definition at line 150 of file AlephSession.cpp.

Referenced by AlephROOTExManager::initialize(), AlephEpioExManager::initialize(), AlephROOTExManager::loopAllRead(), AlephEpioExManager::loopAllRead(), AlephEpioExManager::loopAllWrite(), AlephROOTExManager::loopInterRead(), and AlephEpioExManager::loopInterRead().

AlephRC AlephSession::initialize ( )
 

the initialization step.

Definition at line 158 of file AlephSession.cpp.

Referenced by main().

AlephRC AlephSession::run ( )
 

the running step.

Definition at line 218 of file AlephSession.cpp.

Referenced by main().

string AlephSession::sessionType ( ) const
 

get the session type.

Definition at line 93 of file AlephSession.cpp.

Referenced by AlephROOTExManager::run(), and AlephEpioExManager::run().

void AlephSession::setDebugLevel ( const int & aLevel )
 

set the debug output level.

Definition at line 145 of file AlephSession.cpp.

Referenced by main().

void AlephSession::setSessionType ( const string & theType )
 

set the session type.

Definition at line 68 of file AlephSession.cpp.

Referenced by AlephCardsReader::AlephCardsReader().

void AlephSession::startTimer ( bool precision = false )
 

Definition at line 123 of file AlephSession.cpp.

Referenced by initialize(), run(), and terminate().

void AlephSession::stopTimer ( bool precision = false )
 

Definition at line 134 of file AlephSession.cpp.

Referenced by initialize(), run(), and terminate().

AlephRC AlephSession::terminate ( )
 

the terminating step.

Definition at line 238 of file AlephSession.cpp.

Referenced by main().


Member Data Documentation

int AlephSession::_debugLevel [private]
 

Definition at line 77 of file AlephSession.h.

clock_t AlephSession::_endClock [private]
 

Definition at line 72 of file AlephSession.h.

time_t AlephSession::_endTime [private]
 

Definition at line 70 of file AlephSession.h.

clock_t AlephSession::_startClock [private]
 

Definition at line 71 of file AlephSession.h.

time_t AlephSession::_startTime [private]
 

Definition at line 69 of file AlephSession.h.

AlephManager * AlephSession::_theAlephDbManager [private]
 

Definition at line 65 of file AlephSession.h.

AlephManager * AlephSession::_theAlephExManager [private]
 

Definition at line 67 of file AlephSession.h.

AlephManager * AlephSession::_theAlephIoManager [private]
 

Definition at line 66 of file AlephSession.h.

AlephSession * AlephSession::_theAlephSession = 0 [static, private]
 

Definition at line 24 of file AlephSession.cpp.

string AlephSession::_thisSessionType [private]
 

Definition at line 63 of file AlephSession.h.

double AlephSession::init_time [private]
 

Definition at line 73 of file AlephSession.h.

double AlephSession::run_time [private]
 

Definition at line 74 of file AlephSession.h.

double AlephSession::term_time [private]
 

Definition at line 75 of file AlephSession.h.


The documentation for this class was generated from the following files:
Generated at Wed Jun 18 17:21:20 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001