World Ocean Simulation System (WOSS) library
|
Singleton design pattern template. More...
#include <singleton-definitions.h>
Static Public Member Functions | |
static T * | instance () |
Private Member Functions | |
Singleton () | |
Singleton (const Singleton ©) | |
Singleton & | operator= (const Singleton ©) |
Static Private Attributes | |
static T * | the_instance = 0 |
Singleton design pattern template.
A simple singleton template pattern, useful to decouple classes from singleton implementation
|
inlineprivate |
Disallowed default constructor
|
inlineprivate |
Disallowed copy constructor
|
inlinestatic |
Returns the singleton instance
Referenced by woss::SedimDeck41Db::calculateSediment(), woss::SedimDeck41Db::createSediment(), woss::WossManagerResDb::dbGetPressure(), woss::WossManagerResDb::dbGetTimeArr(), woss::SSP::fullRandomize(), woss::WossDbManager::getAltimetry(), woss::ArrAscResReader::getArrAscHeader(), woss::ArrBinResReader::getArrBinHeader(), woss::WossDbManager::getAverageSSP(), woss::WossDbManager::getPressure(), woss::WossDbManager::getSediment(), woss::WossDbManager::getSediment(), woss::WossDbManager::getSSP(), woss::WossDbManager::getTimeArr(), WossMPhyBpsk::getTxPower(), woss::SspWoa2005Db::getValue(), woss::ResPressureTxtDb::getValue(), woss::ResTimeArrTxtDb::getValue(), woss::WossManagerResDb::getWossPressure(), woss::WossManagerResDbMT::getWossPressure(), woss::WossManager::getWossPressure(), woss::WossManagerResDbMT::getWossPressure(), woss::WossManager::getWossPressure(), woss::WossManager::getWossPressure(), woss::WossManagerResDb::getWossTimeArr(), woss::WossManagerResDbMT::getWossTimeArr(), woss::WossManager::getWossTimeArr(), woss::WossManagerResDbMT::getWossTimeArr(), woss::WossManager::getWossTimeArr(), woss::WossManager::getWossTimeArr(), woss::WossDbManager::importCustomSSP(), woss::TransducerHandler::importValueAscii(), woss::TransducerHandler::importValueBinary(), woss::TransducerHandler::operator=(), woss::Altimetry::randomize(), woss::SSP::randomize(), woss::ArrAscResReader::readAvgPressure(), woss::ArrBinResReader::readAvgPressure(), woss::ShdResReader::readAvgPressure(), woss::ArrAscResReader::readPressure(), woss::ArrBinResReader::readPressure(), woss::ShdResReader::readPressure(), woss::ArrAscResReader::readTimeArr(), woss::ArrBinResReader::readTimeArr(), woss::ShdResReader::readTimeArr(), woss::WossDbManager::setCustomSediment(), woss::TransducerHandler::TransducerHandler(), woss::TransducerHandler::TransducerHandler(), and woss::TransducerHandler::TransducerHandler().
|
inlineprivate |
Disallowed assignment operator
|
staticprivate |
static heap instance