#include <ServiceLocator.h>
Public Member Functions | |
ServiceLocator (AbstractServiceLocatorImplementation *abstractImplementation) | |
virtual | ~ServiceLocator () |
DeviceType * | getDevice (const std::string &deviceName) const |
Retrieve a device based on its name. | |
const std::vector< DeviceType * > & | getDeviceCollection () |
Retrieve the complete collection of devices for a given FESA class. | |
GlobalDeviceType * | getGlobalDevice () const |
Retrieve the global device of the current class. |
Definition at line 21 of file ServiceLocator.h.
fesa::ServiceLocator< GlobalDeviceType, DomainStoreType, DeviceType >::ServiceLocator | ( | AbstractServiceLocatorImplementation * | abstractImplementation | ) | [inline] |
Definition at line 67 of file ServiceLocator.h.
fesa::ServiceLocator< GlobalDeviceType, DomainStoreType, DeviceType >::~ServiceLocator | ( | ) | [inline, virtual] |
Definition at line 73 of file ServiceLocator.h.
DeviceType * fesa::ServiceLocator< GlobalDeviceType, DomainStoreType, DeviceType >::getDevice | ( | const std::string & | deviceName | ) | const [inline, virtual] |
Retrieve a device based on its name.
deviceName | the name of the searched device |
FesaException |
Reimplemented from fesa::AbstractServiceLocator.
Definition at line 38 of file ServiceLocator.h.
References fesa::AbstractServiceLocatorImplementation::getDevice(), and fesa::AbstractServiceLocator::pImplementation_.
const std::vector< DeviceType * > & fesa::ServiceLocator< GlobalDeviceType, DomainStoreType, DeviceType >::getDeviceCollection | ( | ) | [inline] |
Retrieve the complete collection of devices for a given FESA class.
FesaException |
Definition at line 49 of file ServiceLocator.h.
References fesa::AbstractServiceLocatorImplementation::getDeviceCollection(), and fesa::AbstractServiceLocator::pImplementation_.
GlobalDeviceType * fesa::ServiceLocator< GlobalDeviceType, DomainStoreType, DeviceType >::getGlobalDevice | ( | ) | const [inline, virtual] |
Retrieve the global device of the current class.
FesaException |
Reimplemented from fesa::AbstractServiceLocator.
Definition at line 61 of file ServiceLocator.h.
References fesa::AbstractServiceLocatorImplementation::getGlobalDevice(), and fesa::AbstractServiceLocator::pImplementation_.