fesa::DeviceLogicalEventElement Class Reference

Used to store all Device-LogicalEvent-specific Information which comes from the Instantiation-File. More...

#include <DeviceLogicalEventElement.h>

List of all members.

Public Member Functions

 DeviceLogicalEventElement ()
virtual ~DeviceLogicalEventElement ()
virtual void initialize (const std::string &xpath, ElementXML *deviceLogicalEventElement)
 triggers the parsing of the xml-file-structures and initializes the class with all needed information
virtual void connectEventConfigRef (AbstractDevice *device, boost::shared_ptr< ClassElement > classElement)
 connects all event-config-ref-elements on class level, according to the XML-links in the events-mapping of this event-element

Private Member Functions

void loadEventConfigurationNameRef (const std::string &xpath, ElementXML *deviceLogicalEventElement)
 loads the xml-event-configuration-name-ref of this logical-event-element

Private Attributes

std::string eventConfigurationRefName_
 name of the event-configuration to which this element refers to
std::string logicalEventName_
 name of the device-logical-event which is represented by this object
boost::shared_ptr
< EventConfigurationElement
eventConfigurationElementRef_
 link to the event-configuration to which this element refers to
bool isInitialized_
 true, when initialization of this object was finished successfully

Detailed Description

Used to store all Device-LogicalEvent-specific Information which comes from the Instantiation-File.

Definition at line 20 of file DeviceLogicalEventElement.h.


Constructor & Destructor Documentation

fesa::DeviceLogicalEventElement::DeviceLogicalEventElement (  ) 

Definition at line 14 of file DeviceLogicalEventElement.cpp.

fesa::DeviceLogicalEventElement::~DeviceLogicalEventElement (  )  [virtual]

Definition at line 19 of file DeviceLogicalEventElement.cpp.


Member Function Documentation

void fesa::DeviceLogicalEventElement::connectEventConfigRef ( AbstractDevice device,
boost::shared_ptr< ClassElement classElement 
) [virtual]

connects all event-config-ref-elements on class level, according to the XML-links in the events-mapping of this event-element

Definition at line 62 of file DeviceLogicalEventElement.cpp.

References eventConfigurationElementRef_, eventConfigurationRefName_, FesaErrorParserElementNotInitialized, isInitialized_, and logicalEventName_.

void fesa::DeviceLogicalEventElement::initialize ( const std::string &  xpath,
ElementXML deviceLogicalEventElement 
) [virtual]

triggers the parsing of the xml-file-structures and initializes the class with all needed information

Definition at line 24 of file DeviceLogicalEventElement.cpp.

References isInitialized_, loadEventConfigurationNameRef(), logicalEventName_, and fesa::ElementXML::name_.

void fesa::DeviceLogicalEventElement::loadEventConfigurationNameRef ( const std::string &  xpath,
ElementXML deviceLogicalEventElement 
) [private]

Member Data Documentation

link to the event-configuration to which this element refers to

Definition at line 58 of file DeviceLogicalEventElement.h.

Referenced by connectEventConfigRef().

name of the event-configuration to which this element refers to

Definition at line 48 of file DeviceLogicalEventElement.h.

Referenced by connectEventConfigRef(), and loadEventConfigurationNameRef().

true, when initialization of this object was finished successfully

Definition at line 63 of file DeviceLogicalEventElement.h.

Referenced by connectEventConfigRef(), and initialize().

name of the device-logical-event which is represented by this object

Definition at line 53 of file DeviceLogicalEventElement.h.

Referenced by connectEventConfigRef(), and initialize().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1