Singleton class to create VTankResponse objects. More...
#include <TankResponseFactory.h>
Public Member Functions | |
VTankResponse & | GetTankResponse (const utl::Branch branch) |
The method More... | |
Public Attributes | |
static TankResponseFactory &return | instance |
Private Member Functions | |
TankResponseFactory & | operator= (const TankResponseFactory &) |
TankResponseFactory () | |
TankResponseFactory (const TankResponseFactory &) | |
~TankResponseFactory () | |
Friends | |
class | utl::Singleton< TankResponseFactory > |
Singleton class to create VTankResponse objects.
The factory will decide what actuall implementation to use based on the name of the branch passed as argument to GetInstance. No automatic registration is provided. The currently available models are:
Definition at line 35 of file TankResponseFactory.h.
|
inlineprivate |
Definition at line 42 of file TankResponseFactory.h.
|
inlineprivate |
Definition at line 45 of file TankResponseFactory.h.
|
inlineprivate |
Definition at line 47 of file TankResponseFactory.h.
VTankResponse & TankResponseFactory::GetTankResponse | ( | const utl::Branch | branch | ) |
The method
Definition at line 23 of file TankResponseFactory.cc.
References AachenTankResponseNS::TankResponse::GetInstance(), USCInterTankResponseNS::TankResponse::GetInstance(), SimpleTankResponseNS::TankResponse::GetInstance(), TabularTankResponseNS::TankResponse::GetInstance(), and utl::Branch::GetName().
|
inlineprivate |
Definition at line 50 of file TankResponseFactory.h.
|
friend |
Definition at line 51 of file TankResponseFactory.h.
|
inherited |
Definition at line 44 of file Singleton.h.