#include <TopoElement.h>
|
| virtual size_t | getNofTasks () const =0 |
| | Return number of all tasks including daughter elements. More...
|
| |
| virtual size_t | getTotalNofTasks () const =0 |
| | Return total number of tasks, i.e. number of tasks multiplied by n. More...
|
| |
| void | setName (const std::string &_name) |
| | Modifiers. More...
|
| |
| void | setParent (CTopoBase *_parent) |
| |
| const std::string & | getName () const |
| | Accessors. More...
|
| |
| CTopoBase::EType | getType () const |
| |
| CTopoBase * | getParent () const |
| |
| std::string | getPath () const |
| | Return full path to topo element or property. More...
|
| |
| void | initFromXML (const std::string &_filepath, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| | Initializes object with data from XML file. More...
|
| |
| void | initFromXML (std::istream &_stream, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| | Initializes object with data from XML input stream. More...
|
| |
| virtual void | initFromPropertyTree (const boost::property_tree::ptree &_pt)=0 |
| | Initialize object with data from property tree. More...
|
| |
| virtual void | saveToPropertyTree (boost::property_tree::ptree &_pt)=0 |
| | Save object to a property tree. More...
|
| |
| virtual std::string | toString () const |
| | Returns string representation of an object. More...
|
| |
| virtual std::string | hashString () const =0 |
| | Returns string which is used to calculate CRC checksum of the object. More...
|
| |
|
| template<class Object_t > |
| static Object_t::Ptr_t | make (const std::string &_objectName, const std::string &_filepath, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| | Convenience API to create topology object from XML file. More...
|
| |
| template<class Object_t > |
| static Object_t::Ptr_t | make (const std::string &_objectName, std::istream &_stream, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| | Convenience API to create topology object from XML file. More...
|
| |
| template<class Object_t > |
| static Object_t::Ptr_t | make (const std::string &_name, const boost::property_tree::ptree &_pt) |
| | Convenience API to create topology object with data from property tree. More...
|
| |
◆ Ptr_t
◆ PtrVector_t
◆ CTopoElement()
| CTopoElement::CTopoElement |
( |
const std::string & |
_name | ) |
|
|
protected |
◆ ~CTopoElement()
| CTopoElement::~CTopoElement |
( |
| ) |
|
|
protectedvirtual |
◆ getNofTasks()
| virtual size_t dds::topology_api::CTopoElement::getNofTasks |
( |
| ) |
const |
|
pure virtual |
◆ getTotalCounterDefault()
| size_t CTopoElement::getTotalCounterDefault |
( |
| ) |
const |
|
protected |
If parent is a group than return N, else return 1. Default implementation for Task::getTotalCounter and TaskCollection::getTotalCounter.
◆ getTotalNofTasks()
| virtual size_t dds::topology_api::CTopoElement::getTotalNofTasks |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files: