Used to handle and store all Event-specific Information which comes from the Instantiation-File. This class is Abstract.
More...
#include <EventElementImpl.h>
|
const std::string & | getLogicalName () const |
| Returns the logical event name which is used for this concrete-event. More...
|
|
const std::string & | getEventSourceName () const |
| Returns the name of the event-source which will fire this concrete event. More...
|
|
const EventSourceType & | getEventSourceType () const |
| Returns the type of the event-source which will fire this concrete event. More...
|
|
const std::string & | getConcreteName () const |
| Returns the name of the concrete-event. More...
|
|
const std::string & | getClassName () const |
| Returns the name of the class which will manage this concrete event. More...
|
|
std::vector< std::string > | getDeviceCollection () const |
| Returns all devices which are connected to this concrete event. More...
|
|
void | addDeviceRef (const std::string &deviceName) |
| used in order to add references of the connected devices to this object (according to the mapping in the xml-file) More...
|
|
|
| EventElementImpl (const std::string &className, const std::string &logicalEventName, const EventSourceType sourceType, const std::string &xpath, boost::shared_ptr< ElementXML > eventElement) |
|
Used to handle and store all Event-specific Information which comes from the Instantiation-File. This class is Abstract.
fesa::EventElementImpl::EventElementImpl |
( |
const std::string & |
className, |
|
|
const std::string & |
logicalEventName, |
|
|
const EventSourceType |
sourceType, |
|
|
const std::string & |
xpath, |
|
|
boost::shared_ptr< ElementXML > |
eventElement |
|
) |
| |
|
protected |
- Parameters
-
className | Name of the class, which hosts this event |
logicalEventName | Name of the logical-event, which uses this concrete-event |
sourceType | filled by the child-classes, according to their concrete type# |
xpath | xml-path as string on which the eventElement is located |
eventElement | object which allows easy access to "xpath" |
void fesa::EventElementImpl::addDeviceRef |
( |
const std::string & |
deviceName | ) |
|
|
virtual |
used in order to add references of the connected devices to this object (according to the mapping in the xml-file)
- Parameters
-
name | of the device to connect |
Implements fesa::EventElement.
const std::string & fesa::EventElementImpl::getClassName |
( |
| ) |
const |
|
virtual |
Returns the name of the class which will manage this concrete event.
- Returns
- the name of the class
Implements fesa::EventElement.
const std::string & fesa::EventElementImpl::getConcreteName |
( |
| ) |
const |
|
virtual |
Returns the name of the concrete-event.
- Returns
- the name of the concrete-event
Implements fesa::EventElement.
std::vector< std::string > fesa::EventElementImpl::getDeviceCollection |
( |
| ) |
const |
|
virtual |
Returns all devices which are connected to this concrete event.
- Returns
- the name of all connected devices
Implements fesa::EventElement.
const std::string & fesa::EventElementImpl::getEventSourceName |
( |
| ) |
const |
|
virtual |
Returns the name of the event-source which will fire this concrete event.
- Returns
- the name of the event-source
Implements fesa::EventElement.
const EventSourceType & fesa::EventElementImpl::getEventSourceType |
( |
| ) |
const |
|
virtual |
Returns the type of the event-source which will fire this concrete event.
- Returns
- the type of the event-source
Implements fesa::EventElement.
const std::string & fesa::EventElementImpl::getLogicalName |
( |
| ) |
const |
|
virtual |
Returns the logical event name which is used for this concrete-event.
- Returns
- the logical event name
Implements fesa::EventElement.
The documentation for this class was generated from the following files:
- EventElementImpl.h
- EventElementImpl.cpp