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

DatabaseManager Class Reference

#include <DatabaseManager.h>

List of all members.

Public Types

enum  ManagerState { WORKING, STOPPING, STOPPED }

Public Methods

 DatabaseManager ()
 ~DatabaseManager ()
void takeControl ()
ManagerState state () const
Chars getFileName () const
Chars getSecondaryFileName () const
void forceToFinish ()
void readMessage (istream &istr)

Static Public Methods

void printGlobalMessageTemplate (ostream &ostr)

Private Methods

void setFileName (const Chars &filename)
 DatabaseManager (const DatabaseManager &)
DatabaseManager& operator= (const DatabaseManager &)
void postMessage (const DB2FE_MESSAGE message) const

Private Attributes

DBStatetheCurrentState
Chars theFileName
ManagerState theExternalState
DBEvent event

Static Private Methods

void printDatabaseObjectCategories (ostream &ostr)

Friends

void DatabaseCreating::handleEvent (const DBEvent &event)
void DatabaseSaving::handleEvent (const DBEvent &event)
void DatabaseSavingAs::handleEvent (const DBEvent &event)


Member Enumeration Documentation

enum DatabaseManager::ManagerState
 

Enumeration values:
WORKING  
STOPPING  
STOPPED  

Definition at line 364 of file DatabaseManager.h.


Constructor & Destructor Documentation

DatabaseManager::DatabaseManager ( )
 

DatabaseManager::~DatabaseManager ( )
 

DatabaseManager::DatabaseManager ( const DatabaseManager & ) [private]
 


Member Function Documentation

void DatabaseManager::takeControl ( )
 

ManagerState DatabaseManager::state ( ) const [inline]
 

Definition at line 366 of file DatabaseManager.h.

Chars DatabaseManager::getFileName ( ) const [inline]
 

Definition at line 368 of file DatabaseManager.h.

Chars DatabaseManager::getSecondaryFileName ( ) const
 

void DatabaseManager::printGlobalMessageTemplate ( ostream & ostr ) [static]
 

void DatabaseManager::forceToFinish ( )
 

void DatabaseManager::readMessage ( istream & istr )
 

void DatabaseManager::setFileName ( const Chars & filename ) [private]
 

DatabaseManager& DatabaseManager::operator= ( const DatabaseManager & ) [private]
 

void DatabaseManager::postMessage ( const DB2FE_MESSAGE message ) const [private]
 

void DatabaseManager::printDatabaseObjectCategories ( ostream & ostr ) [static, private]
 


Friends And Related Function Documentation

void DatabaseCreating::handleEvent ( const DBEvent & event ) [friend]
 

void DatabaseSaving::handleEvent ( const DBEvent & event ) [friend]
 

void DatabaseSavingAs::handleEvent ( const DBEvent & event ) [friend]
 


Member Data Documentation

DBState* DatabaseManager::theCurrentState [private]
 

Definition at line 401 of file DatabaseManager.h.

Chars DatabaseManager::theFileName [private]
 

Definition at line 402 of file DatabaseManager.h.

ManagerState DatabaseManager::theExternalState [private]
 

Definition at line 403 of file DatabaseManager.h.

DBEvent DatabaseManager::event [private]
 

Definition at line 404 of file DatabaseManager.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:50 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001