fesa::AbstractDeviceFactory Class Reference

This abstract class contains virtual methods to create the devices on the system. More...

#include <AbstractDeviceFactory.h>

Inheritance diagram for fesa::AbstractDeviceFactory:
fesa::DeviceFactory< GlobalDeviceType, DomainStoreType, DevInstType >

List of all members.

Public Member Functions

virtual std::set
< HomogeneousDevCol * > 
getSortedDeviceCollection (const std::string &selectionCriteria)
 this method retrieves vector with all devices based on selection criterion
virtual const std::vector
< AbstractDevice * > & 
getAbstractDeviceCollection ()
 this method retrieves all abstract devices
virtual AbstractDevicegetDevice (const std::string &deviceName)=0
 this method retrieves the device instance by its name
virtual GlobalDevicegetGlobalDevice ()=0
 this method retrieves the global-device instance

Protected Member Functions

 AbstractDeviceFactory (const std::string &name)
virtual ~AbstractDeviceFactory ()

Protected Attributes

std::string className_
 class name of the abstract device factory
std::vector< AbstractDevice * > pAbstractDeviceCol_
 abstract device collection of the device factory

Detailed Description

This abstract class contains virtual methods to create the devices on the system.

Definition at line 26 of file AbstractDeviceFactory.h.


Constructor & Destructor Documentation

fesa::AbstractDeviceFactory::AbstractDeviceFactory ( const std::string &  name  )  [protected]

constructor

Parameters:
name of the class that will use this device factory

Definition at line 12 of file AbstractDeviceFactory.cpp.

fesa::AbstractDeviceFactory::~AbstractDeviceFactory (  )  [protected, virtual]

Definition at line 36 of file AbstractDeviceFactory.cpp.


Member Function Documentation

const std::vector< AbstractDevice * > & fesa::AbstractDeviceFactory::getAbstractDeviceCollection (  )  [virtual]
virtual AbstractDevice* fesa::AbstractDeviceFactory::getDevice ( const std::string &  deviceName  )  [pure virtual]
virtual GlobalDevice* fesa::AbstractDeviceFactory::getGlobalDevice (  )  [pure virtual]
std::set< HomogeneousDevCol * > fesa::AbstractDeviceFactory::getSortedDeviceCollection ( const std::string &  selectionCriteria  )  [virtual]

this method retrieves vector with all devices based on selection criterion

Parameters:
selectionCriteria 
Returns:
all devices

Definition at line 18 of file AbstractDeviceFactory.cpp.

References className_, fesa::SortingInterpreter::interpret(), and pAbstractDeviceCol_.


Member Data Documentation

class name of the abstract device factory

Definition at line 70 of file AbstractDeviceFactory.h.

Referenced by getSortedDeviceCollection().


The documentation for this class was generated from the following files:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1