World Ocean Simulation System (WOSS) library
|
Class for managing all WOSS classes involved. More...
#include <woss-controller.h>
Public Member Functions | |
WossController () | |
WossController (WossController ©) | |
WossController & | operator= (WossController ©) |
virtual | ~WossController () |
bool | initialize () |
WossController & | setBathymetryDbCreator (WossDbCreator *const ptr) |
WossController & | setSedimentDbCreator (WossDbCreator *const ptr) |
WossController & | setSSPDbCreator (WossDbCreator *const ptr) |
WossController & | setPressureDbCreator (WossDbCreator *const ptr) |
WossController & | setTimeArrDbCreator (WossDbCreator *const ptr) |
WossController & | setWossCreator (WossCreator *const ptr) |
WossController & | setWossDbManager (WossDbManager *const ptr) |
WossController & | setWossManager (WossManager *const ptr) |
WossController & | setTransducerHandler (TransducerHandler *const ptr) |
void | setDebug (bool flag) |
const WossDbCreator *const | getBathymetryDbCreator () const |
const WossDbCreator *const | getSedimentDbCreator () const |
const WossDbCreator *const | getSSPDbCreator () const |
const WossDbCreator *const | getPressureDbCreator () const |
const WossDbCreator *const | getTimeArrDbCreator () const |
const WossCreator *const | getWossCreator () const |
const WossDbManager *const | getWossDbManager () const |
WossManager *const | getWossManager () const |
TransducerHandler *const | getTransducerHandler () const |
bool | getDebug () const |
Protected Attributes | |
double | debug |
bool | initialized |
WossDbCreator * | bathymetry_db_creator |
WossDbCreator * | sediment_db_creator |
WossDbCreator * | ssp_db_creator |
WossDbCreator * | pressure_result_db_creator |
WossDbCreator * | timearr_result_db_creator |
WossCreator * | woss_creator |
WossDbManager * | woss_db_manager |
WossManager * | woss_manager |
TransducerHandler * | transducer_handler |
Class for managing all WOSS classes involved.
woss::WossController is a class that sets all needed connections between primary WOSS classes. It should be used with woss::Singleton for safety reasons. ( e.g. woss::Singleton<woss::WossController> )
WossController::WossController | ( | ) |
Default constructor
WossController::WossController | ( | WossController & | copy | ) |
Copy constructor ( no const here, we have to modify the copy )
References initialized.
|
virtual |
Destructor
bool WossController::initialize | ( | ) |
Initializes all connections
References woss::WossDbCreator::createWossDb(), initialized, woss::WossDbManager::setBathymetryDb(), woss::WossDbManager::setResPressureDb(), woss::WossDbManager::setResTimeArrDb(), woss::WossDbManager::setSedimentDb(), woss::WossDbManager::setSSPDb(), woss::WossCreator::setTransducerHandler(), woss::WossManager::setWossCreator(), woss::WossCreator::setWossDbManager(), and woss::WossManagerResDb::setWossDbManager().
WossController & WossController::operator= | ( | WossController & | copy | ) |
Assignment operator ( no const here, we have to modify the copy )
References debug, and initialized.
|
protected |
Debug flag
Referenced by operator=().
|
protected |
Initialized flag
Referenced by initialize(), operator=(), and WossController().