#include <AbstractServiceLocatorFactory.h>
Public Types | |
enum | DEPLOYMENT_MODE_TYPE { REALTIME_SPLIT, SERVER_SPLIT, UNSPLIT } |
Public Member Functions | |
const AbstractServiceLocator * | getServiceLocator (const std::string &className) |
virtual | ~AbstractServiceLocatorFactory () |
AbstractServiceLocatorFactory () | |
Static Public Member Functions | |
static AbstractServiceLocatorFactory * | getInstance () |
Protected Member Functions | |
virtual AbstractServiceLocator * | buildServiceLocator (const std::string &className, DEPLOYMENT_MODE_TYPE type)=0 |
Protected Attributes | |
Mutex | mutex_ |
std::map< std::string, AbstractServiceLocator * > | mapAbstractServiceLocator_ |
Static Protected Attributes | |
static AbstractServiceLocatorFactory * | theInstance_ = 0 |
Definition at line 20 of file AbstractServiceLocatorFactory.h.
Definition at line 23 of file AbstractServiceLocatorFactory.h.
fesa::AbstractServiceLocatorFactory::~AbstractServiceLocatorFactory | ( | ) | [virtual] |
Definition at line 32 of file AbstractServiceLocatorFactory.cpp.
fesa::AbstractServiceLocatorFactory::AbstractServiceLocatorFactory | ( | ) |
Definition at line 36 of file AbstractServiceLocatorFactory.cpp.
virtual AbstractServiceLocator* fesa::AbstractServiceLocatorFactory::buildServiceLocator | ( | const std::string & | className, | |
DEPLOYMENT_MODE_TYPE | type | |||
) | [protected, pure virtual] |
AbstractServiceLocatorFactory * fesa::AbstractServiceLocatorFactory::getInstance | ( | ) | [static] |
Definition at line 15 of file AbstractServiceLocatorFactory.cpp.
References theInstance_.
Referenced by fesa::AbstractDeviceClass::AbstractDeviceClass().
const AbstractServiceLocator * fesa::AbstractServiceLocatorFactory::getServiceLocator | ( | const std::string & | className | ) |
Definition at line 20 of file AbstractServiceLocatorFactory.cpp.
References FesaErrorServiceLocatorWasNotFound, mapAbstractServiceLocator_, and mutex_.
Referenced by fesa::AbstractDeviceClass::AbstractDeviceClass().
std::map<std::string, AbstractServiceLocator*> fesa::AbstractServiceLocatorFactory::mapAbstractServiceLocator_ [protected] |
Definition at line 32 of file AbstractServiceLocatorFactory.h.
Referenced by getServiceLocator().
Mutex fesa::AbstractServiceLocatorFactory::mutex_ [protected] |
Definition at line 31 of file AbstractServiceLocatorFactory.h.
Referenced by getServiceLocator().
AbstractServiceLocatorFactory * fesa::AbstractServiceLocatorFactory::theInstance_ = 0 [static, protected] |
Definition at line 33 of file AbstractServiceLocatorFactory.h.
Referenced by getInstance().