fesa-core
5.0.1
|
This abstract class contains virtual methods to create the devices on the system. More...
#include <AbstractDeviceFactory.h>
Public Member Functions | |
virtual const std::vector < AbstractDevice * > & | getAbstractDeviceCollection () const |
this method retrieves all abstract devices More... | |
std::vector< AbstractDevice * > | getDevices (const std::vector< std::string > &deviceNames) const |
Get the devices by their names. More... | |
virtual const std::vector < DomainStore * > & | getAbstractDomainStoreCollection () const |
this method retrieves all abstract domain-store More... | |
virtual AbstractDevice * | getDevice (const std::string &deviceName) const =0 |
this method retrieves the device instance by its name More... | |
virtual DomainStore * | getDomainStore (const std::string &domainStoreName) const =0 |
this method retrieves the domain-store by its name More... | |
virtual GlobalDevice * | getGlobalDevice () const =0 |
this method retrieves the global-device instance More... | |
Protected Member Functions | |
AbstractDeviceFactory (const std::string &name, const std::string &version) | |
Protected Attributes | |
std::string | className_ |
class name of the abstract device factory | |
std::string | classVersion_ |
version of the abstract device factory | |
std::vector< AbstractDevice * > | abstractDeviceCol_ |
abstract device collection of the device factory | |
std::vector< DomainStore * > | domainStoreCol_ |
abstract domain-store collection of the device factory | |
This abstract class contains virtual methods to create the devices on the system.
|
protected |
constructor
name | of the class that will use this device factory |
|
virtual |
this method retrieves all abstract devices
|
virtual |
this method retrieves all abstract domain-store
|
pure virtual |
this method retrieves the device instance by its name
deviceName |
Implemented in fesa::DeviceFactory< GlobalDeviceType, DomainStoreType, DevInstType >.
std::vector< AbstractDevice * > fesa::AbstractDeviceFactory::getDevices | ( | const std::vector< std::string > & | deviceNames | ) | const |
Get the devices by their names.
deviceNames | A list of the devices' names |
|
pure virtual |
this method retrieves the domain-store by its name
domainName |
Implemented in fesa::DeviceFactory< GlobalDeviceType, DomainStoreType, DevInstType >.
|
pure virtual |
this method retrieves the global-device instance
Implemented in fesa::DeviceFactory< GlobalDeviceType, DomainStoreType, DevInstType >.