World Ocean Simulation System (WOSS) library
woss::WossController Class Reference

Class for managing all WOSS classes involved. More...

#include <woss-controller.h>

Collaboration diagram for woss::WossController:
Collaboration graph

Public Member Functions

 WossController ()
 
 WossController (WossController &copy)
 
WossControlleroperator= (WossController &copy)
 
virtual ~WossController ()
 
bool initialize ()
 
WossControllersetBathymetryDbCreator (WossDbCreator *const ptr)
 
WossControllersetSedimentDbCreator (WossDbCreator *const ptr)
 
WossControllersetSSPDbCreator (WossDbCreator *const ptr)
 
WossControllersetPressureDbCreator (WossDbCreator *const ptr)
 
WossControllersetTimeArrDbCreator (WossDbCreator *const ptr)
 
WossControllersetWossCreator (WossCreator *const ptr)
 
WossControllersetWossDbManager (WossDbManager *const ptr)
 
WossControllersetWossManager (WossManager *const ptr)
 
WossControllersetTransducerHandler (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
 
WossDbCreatorbathymetry_db_creator
 
WossDbCreatorsediment_db_creator
 
WossDbCreatorssp_db_creator
 
WossDbCreatorpressure_result_db_creator
 
WossDbCreatortimearr_result_db_creator
 
WossCreatorwoss_creator
 
WossDbManagerwoss_db_manager
 
WossManagerwoss_manager
 
TransducerHandlertransducer_handler
 

Detailed Description

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> )

Constructor & Destructor Documentation

◆ WossController() [1/2]

WossController::WossController ( )

Default constructor

◆ WossController() [2/2]

WossController::WossController ( WossController copy)

Copy constructor ( no const here, we have to modify the copy )

References initialized.

◆ ~WossController()

WossController::~WossController ( )
virtual

Destructor

Member Function Documentation

◆ initialize()

◆ operator=()

WossController & WossController::operator= ( WossController copy)

Assignment operator ( no const here, we have to modify the copy )

References debug, and initialized.

Member Data Documentation

◆ debug

double woss::WossController::debug
protected

Debug flag

Referenced by operator=().

◆ initialized

bool woss::WossController::initialized
protected

Initialized flag

Referenced by initialize(), operator=(), and WossController().


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