fesa-core
7.0.0
|
Each instance of this class represents a FESA-Class (XML-Design-Document) More...
#include <AbstractDeviceClass.h>
Public Member Functions | |
AbstractDeviceClass (const std::string &fesaClassName, const std::string &version) | |
Constructor. More... | |
virtual | ~AbstractDeviceClass () |
Destructor. | |
virtual AbstractDeviceFactory * | getDeviceFactory () |
returns the abstract device factory of the class More... | |
virtual const std::string & | getName () |
returns the name of the class as string More... | |
virtual const std::string & | getVersion () |
returns the version of the class as string More... | |
virtual void | initialize ()=0 |
Initialization of the class. Is pure virtual. Implementation is done at a lower level. | |
virtual void | specificInit ()=0 |
Custom initialization of the class. | |
virtual boost::shared_ptr < ClassElement > | getInstantiationXMLElement () |
Getter for the member InstantiationXMLElement_. More... | |
virtual void | specificShutDown () |
Method to run code when a clean shutdown occurs. The default implementation is empty. It can be overridden by a FESA class developer in ServerDeviceClass and RTDeviceClass. | |
Protected Member Functions | |
virtual void | addOnDemandEventProducer (const std::string &className, const std::string &onDemandEventSourceName, FwkPart::FwkPart fwkPart) |
Allows the concrete device class to add OD-producers, according to the concrete class-design. | |
Protected Attributes | |
std::string | name_ |
name of the abstract device class | |
std::string | version_ |
version of the abstract device class | |
AbstractDeviceFactory * | deviceFactory_ |
reference to the device factory | |
std::vector < AbstractDeviceClass * > | relatedClassCol_ |
list of classes related to this one by means of composition relationship.If the device class doesn't define any composition relationship, this collection is empty | |
AbstractDeviceClass * | baseClass_ |
Defines the base class from which this device class inherits. If the device class does not define any inheritance relationship, the baseClass_ attribute is NULL. | |
OnDemandEventProducerCollection | onDemandEventProducerCol_ |
service to trigger the different on-demand-event sources of this class | |
boost::shared_ptr< ClassElement > | instantiationXMLElement_ |
Used to access the class-specific XML-data of the instantiation-file. | |
Each instance of this class represents a FESA-Class (XML-Design-Document)
fesa::AbstractDeviceClass::AbstractDeviceClass | ( | const std::string & | fesaClassName, |
const std::string & | version | ||
) |
Constructor.
name | of the fesa-class |
version | of the fesa-class |
|
inlinevirtual |
returns the abstract device factory of the class
|
virtual |
Getter for the member InstantiationXMLElement_.
|
inlinevirtual |
returns the name of the class as string
|
inlinevirtual |
returns the version of the class as string