This class contains the properties of the class and lets access to them. Besides it creates the UserEventProducer.
More...
#include <AbstractServerDeviceClass.h>
|
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.
|
|
This class contains the properties of the class and lets access to them. Besides it creates the UserEventProducer.
fesa::AbstractServerDeviceClass::AbstractServerDeviceClass |
( |
const std::string & |
name, |
|
|
const std::string & |
version |
|
) |
| |
This method looks for the class passed as a parameter recursively in the related classes.
- Returns
- a reference to the AbstractServerDeviceClass which name is passed as a parameter or NULL if the class is not found
-
the action factory
Property * fesa::AbstractServerDeviceClass::getGlobalProperty |
( |
std::size_t |
index | ) |
|
Returns a global property based on its index in orderedGlobalProperties_.
- Exceptions
-
Property * fesa::AbstractServerDeviceClass::getProperty |
( |
const std::string & |
propertyName | ) |
|
this method returns the property with the name passed by argument
- Parameters
-
Property * fesa::AbstractServerDeviceClass::getProperty |
( |
std::size_t |
index | ) |
|
Returns a property based on its index in orderedProperties_.
- Exceptions
-
void fesa::AbstractServerDeviceClass::printConfig |
( |
FesaStream * |
configStream | ) |
|
|
virtual |
this method prints the action configuration into the stream passed by argument
- Parameters
-
configStream | in which the information will be printed |
void fesa::AbstractServerDeviceClass::printState |
( |
FesaStream * |
fesaStream, |
|
|
double |
elapsedTime |
|
) |
| |
|
virtual |
this method prints the actual state of the action (frequency of the completed actions) into the stream passed by argument
- Parameters
-
fesaStream | in which the information will be printed |
void fesa::AbstractServerDeviceClass::reportErrorToSubscribers |
( |
std::string |
Message | ) |
|
this method generates an Listener error for all underliing subscribers
- Parameters
-
Messsage | The error message |
std::vector<Property*> fesa::AbstractServerDeviceClass::orderedGlobalProperties_ |
|
protected |
Vector containing global properties in the same order as the design. As such, it is compatible with the generated property enumeration.
std::vector<Property*> fesa::AbstractServerDeviceClass::orderedProperties_ |
|
protected |
Vector containing properties in the same order as the design. As such, it is compatible with the generated property enumeration.
The documentation for this class was generated from the following files:
- AbstractServerDeviceClass.h
- AbstractServerDeviceClass.cpp