fesa-core  4.2.0
fesa::EventConfigurationElementImpl Class Reference

Implementation of pure virtual class EventConfigurationElement. More...

#include <EventConfigurationElementImpl.h>

Inheritance diagram for fesa::EventConfigurationElementImpl:
fesa::EventConfigurationElement

Public Member Functions

 EventConfigurationElementImpl (const std::string &className, const std::string &logicalEventName, const std::string &xpath, boost::shared_ptr< ElementXML > eventConfigurationElement, const ParserElementFactory &parserElementFactory)
 
void addDeviceRef (const std::string &deviceName)
 used in order to add names of the connected devices to this object (according to the mapping in the xml-file) More...
 
EventElementVector getEventElementCol () const
 returns all event-elements of this event-configuration-element More...
 
std::string getName () const
 returns the name of the event-configuration, represented by this event-configuration-element More...
 
bool isNotUsed () const
 

Detailed Description

Implementation of pure virtual class EventConfigurationElement.

Constructor & Destructor Documentation

fesa::EventConfigurationElementImpl::EventConfigurationElementImpl ( const std::string &  className,
const std::string &  logicalEventName,
const std::string &  xpath,
boost::shared_ptr< ElementXML eventConfigurationElement,
const ParserElementFactory &  parserElementFactory 
)
Parameters
classNameName of the class, which hosts this event-configuration
logicalEventNameName of the logical-event, which defines this event-configuration

Member Function Documentation

void fesa::EventConfigurationElementImpl::addDeviceRef ( const std::string &  deviceName)
virtual

used in order to add names of the connected devices to this object (according to the mapping in the xml-file)

Parameters
nameof the device

Implements fesa::EventConfigurationElement.

EventConfigurationElement::EventElementVector fesa::EventConfigurationElementImpl::getEventElementCol ( ) const
virtual

returns all event-elements of this event-configuration-element

Returns
all event-elements

Implements fesa::EventConfigurationElement.

std::string fesa::EventConfigurationElementImpl::getName ( ) const
virtual

returns the name of the event-configuration, represented by this event-configuration-element

Returns
the name of the event-configuration

Implements fesa::EventConfigurationElement.

bool fesa::EventConfigurationElementImpl::isNotUsed ( ) const
virtual
Parameters
methodto check if this event-configuration is used by any device
Returns
True, if this event-configuration is not used by any device

Implements fesa::EventConfigurationElement.


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