The templated version of a class that creates DataElement 's to be added to a DataWarehouse. More...
#include <DataElementFactory.h>
Public Member Functions | |||
DataElementFactory (std::shared_ptr< SMT::SMTClient > client=nullptr) | |||
std::pair< std::string, boost::shared_ptr< T > > | fromXml (const std::string &elementName, const std::string &robonetNode, const std::string &xml) | ||
A placeholder method for DataElement types other than RobonetDataElement, which is currently the only type supported.
| |||
std::pair< std::string, boost::shared_ptr< T > > | stringsToDataElement (const std::string &name, const std::string &type, const std::string &direction, const std::string &channel, const std::string &node, const std::string &offset1, const std::string &offset2, const std::string &group, const std::string &style) | ||
A placeholder method for DataElement types other than RobonetDataElement, which is currently the only type supported.
| |||
virtual | ~DataElementFactory () | ||
Private Attributes | |||
std::shared_ptr< SMT::SMTClient > | smtclient | ||
SMTClient to use when making elements. |
The templated version of a class that creates DataElement 's to be added to a DataWarehouse.
Definition at line 36 of file DataElementFactory.h.
DataElementFactory< T >::DataElementFactory | ( | std::shared_ptr< SMT::SMTClient > | client = nullptr | ) | [inline] |
Definition at line 43 of file DataElementFactory.h.
virtual DataElementFactory< T >::~DataElementFactory | ( | ) | [inline, virtual] |
Definition at line 45 of file DataElementFactory.h.
std::pair< std::string, boost::shared_ptr<T> > DataElementFactory< T >::fromXml | ( | const std::string & | elementName, |
const std::string & | robonetNode, | ||
const std::string & | xml | ||
) | [inline] |
A placeholder method for DataElement types other than RobonetDataElement, which is currently the only type supported.
InvalidDataElementTypeException | If this method is called, meaning that the DataElement type was something other than RobonetDataElement. |
Definition at line 51 of file DataElementFactory.h.
std::pair< std::string, boost::shared_ptr<T> > DataElementFactory< T >::stringsToDataElement | ( | const std::string & | name, |
const std::string & | type, | ||
const std::string & | direction, | ||
const std::string & | channel, | ||
const std::string & | node, | ||
const std::string & | offset1, | ||
const std::string & | offset2, | ||
const std::string & | group, | ||
const std::string & | style | ||
) | [inline] |
A placeholder method for DataElement types other than RobonetDataElement, which is currently the only type supported.
InvalidDataElementTypeException | If this method is called, meaning that the DataElement type was something other than RobonetDataElement. |
Definition at line 61 of file DataElementFactory.h.
std::shared_ptr<SMT::SMTClient> DataElementFactory< T >::smtclient [private] |
SMTClient to use when making elements.
Definition at line 41 of file DataElementFactory.h.