fesa-core  7.0.0
fesa::DeviceElementImpl Class Reference

Implementation of pure virtual class DeviceElement. More...

#include <DeviceElementImpl.h>

Inheritance diagram for fesa::DeviceElementImpl:
fesa::DeviceElement fesa::DataStoreElementImpl fesa::DataStoreElement

Public Member Functions

 DeviceElementImpl (const std::string &xpath, boost::shared_ptr< ElementXML > deviceElement, const DeviceElement *globalDeviceElement, const ParserElementFactory &parserElementFactory)
 
void connectEventConfigRefs (LogicalEventElementVector &globalLogEventCol)
 connects all event-config-ref-elements on class level, according to the XML-links in the events-mapping of this device More...
 
std::vector< std::string > getExtraMultiplexingCriterionCol () const
 returns the ExtraMultiplexingCriterionCol, if defined More...
 
DevLogicalEventElementVector getLogicalEventElementCol () const
 getter for the member logicalEventElementCol_ More...
 
boost::shared_ptr
< DeviceLogicalEventElement
getDeviceLogicalEventElement (const std::string &logicalEventName) const
 returns a pointer to a specific DeviceLogicalEventElement More...
 
- Public Member Functions inherited from fesa::DataStoreElementImpl
 DataStoreElementImpl (const std::string &xpath, boost::shared_ptr< ElementXML > dataStoreElement, const DeviceElement *globalDeviceElement, const ParserElementFactory &parserElementFactory)
 
const std::string & getDataStoreName () const
 returns name of the data store, presented by this data-store-element More...
 
bool isFieldElement (const std::string &fieldName) const
 returns true, if a field-element of the name "fieldName" was defined for this data-store in the instantiation-file More...
 
boost::shared_ptr< FieldElement > getFieldElement (const std::string &fieldName) const
 returns the requested field-element, if available. Throws an exception if the FieldElement is not found More...
 

Additional Inherited Members

- Protected Member Functions inherited from fesa::DeviceElement
 DeviceElement (const std::string &xpath, boost::shared_ptr< ElementXML > deviceElement, const DeviceElement *globalDeviceElement, const ParserElementFactory &parserElementFactory)
 
 DeviceElement ()
 used for mocking
 
- Protected Member Functions inherited from fesa::DataStoreElementImpl
 DataStoreElementImpl ()
 used for mocking
 
- Protected Attributes inherited from fesa::DataStoreElementImpl
std::string name_
 name of the data-store, which is represented by this element
 
boost::optional< int64_t > id_
 

Detailed Description

Implementation of pure virtual class DeviceElement.

Constructor & Destructor Documentation

fesa::DeviceElementImpl::DeviceElementImpl ( const std::string &  xpath,
boost::shared_ptr< ElementXML deviceElement,
const DeviceElement globalDeviceElement,
const ParserElementFactory &  parserElementFactory 
)
Parameters
xpathxpath which leads to the device element in the XML-tree
deviceElementhere the device related information comes from
globalDeviceElementoptional pointer to a global device element. Used to get variable array dimensions for example.
parserElementFactoryfactory to create sub-classes of the class-tree

Member Function Documentation

void fesa::DeviceElementImpl::connectEventConfigRefs ( LogicalEventElementVector &  globalLogEventCol)
virtual

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

Parameters
globalLogEventColvector of all logical-events which are defined in the global event-mapping

Implements fesa::DeviceElement.

boost::shared_ptr< DeviceLogicalEventElement > fesa::DeviceElementImpl::getDeviceLogicalEventElement ( const std::string &  logicalEventName) const
virtual

returns a pointer to a specific DeviceLogicalEventElement

Parameters
logicalEventNamename of the element to return
Returns
the requested DeviceLogicalEventElement

Implements fesa::DeviceElement.

std::vector< std::string > fesa::DeviceElementImpl::getExtraMultiplexingCriterionCol ( ) const
virtual

returns the ExtraMultiplexingCriterionCol, if defined

Returns
ExtraMultiplexingCriterionCol

Implements fesa::DeviceElement.

DeviceElementImpl::DevLogicalEventElementVector fesa::DeviceElementImpl::getLogicalEventElementCol ( ) const
virtual

getter for the member logicalEventElementCol_

Returns
logicalEventElementCol_

Implements fesa::DeviceElement.


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