fesa::EventsMappingLoader Class Reference

This class provides access to the events specified in the instance document. More...

#include <EventsMappingLoader.h>

List of all members.

Public Member Functions

 EventsMappingLoader (boost::shared_ptr< ClassElement > classElement, XMLParser *parser)
 constructor
 ~EventsMappingLoader ()
EventMap getEventMap () const
 the event map of all LogicalEvents and the connected active EventElements <eventName,vector<EventElement>>
std::vector< EventElementPointergetEventElementCol (const std::string &logicalEventName) const
 all active EventElements of a logical-event

Protected Member Functions

void loadEventsMapping (XMLParser *parser)
 This method triggers the read-out of the Instantiation file.
void deleteXMLElements (std::vector< ElementXML * > *xmlElements) const

Private Attributes

boost::shared_ptr< ClassElementclassElement_
 element, in order to store all information which came from the Instantiation file

Detailed Description

This class provides access to the events specified in the instance document.

Definition at line 25 of file EventsMappingLoader.h.


Constructor & Destructor Documentation

fesa::EventsMappingLoader::EventsMappingLoader ( boost::shared_ptr< ClassElement classElement,
XMLParser parser 
)

constructor

Parameters:
classElement class element which should be used to store the instantiation info
xml-parser which will be used for parsing

Definition at line 13 of file EventsMappingLoader.cpp.

References loadEventsMapping().

fesa::EventsMappingLoader::~EventsMappingLoader (  ) 

Definition at line 18 of file EventsMappingLoader.cpp.


Member Function Documentation

void fesa::EventsMappingLoader::deleteXMLElements ( std::vector< ElementXML * > *  xmlElements  )  const [protected]

Definition at line 65 of file EventsMappingLoader.cpp.

Referenced by loadEventsMapping().

std::vector< EventElementPointer > fesa::EventsMappingLoader::getEventElementCol ( const std::string &  logicalEventName  )  const

all active EventElements of a logical-event

Definition at line 23 of file EventsMappingLoader.cpp.

References classElement_.

Referenced by fesa::RTController::createRTActionConfig().

EventMap fesa::EventsMappingLoader::getEventMap (  )  const

the event map of all LogicalEvents and the connected active EventElements <eventName,vector<EventElement>>

Definition at line 28 of file EventsMappingLoader.cpp.

References classElement_.

void fesa::EventsMappingLoader::loadEventsMapping ( XMLParser parser  )  [protected]

This method triggers the read-out of the Instantiation file.

Definition at line 33 of file EventsMappingLoader.cpp.

References fesa::CLASS_BASE_PATH, classElement_, deleteXMLElements(), fesa::XMLParser::extractElementsFromXPath(), and FesaErrorXMLElementNotFound.

Referenced by EventsMappingLoader().


Member Data Documentation

element, in order to store all information which came from the Instantiation file

Definition at line 62 of file EventsMappingLoader.h.

Referenced by getEventElementCol(), getEventMap(), and loadEventsMapping().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1