|
DDS
ver. 2.0
|
#include <Task.h>
Public Member Functions | |
| CTask () | |
| Constructor. More... | |
| virtual | ~CTask () |
| Destructor. More... | |
| const std::string & | getExe () const |
| Accessors. More... | |
| const std::string & | getEnv () const |
| bool | isExeReachable () const |
| bool | isEnvReachable () const |
| size_t | getNofProperties () const |
| size_t | getNofRequirements () const |
| size_t | getNofTriggers () const |
| TopoPropertyPtr_t | getProperty (size_t _i) const |
| const TopoPropertyPtrVector_t & | getProperties () const |
| const RequirementPtrVector_t & | getRequirements () const |
| const TriggerPtrVector_t & | getTriggers () const |
| TopoPropertyPtr_t | getProperty (const std::string &_id) const |
| Get property by ID. If property not fount than return nullptr. More... | |
| void | setExe (const std::string &_exe) |
| Modifiers. More... | |
| void | setEnv (const std::string &_env) |
| void | setExeReachable (bool _exeReachable) |
| void | setEnvReachable (bool _envReachable) |
| void | setProperties (const TopoPropertyPtrVector_t &_properties) |
| void | addProperty (TopoPropertyPtr_t _property) |
| void | setRequirements (const RequirementPtrVector_t &_requirements) |
| void | addRequirement (RequirementPtr_t _requirement) |
| void | setTriggers (const TriggerPtrVector_t &_triggers) |
| void | addTrigger (TriggerPtr_t _trigger) |
| std::string | getParentCollectionId () const |
| std::string | getParentGroupId () const |
| size_t | getTotalCounter () const |
| If parent is a group than return N, else return 1. More... | |
| virtual size_t | getNofTasks () const |
| Inherited from DDSTopoElement. More... | |
| virtual size_t | getTotalNofTasks () const |
| Inherited from DDSTopoElement. More... | |
| virtual void | initFromPropertyTree (const std::string &_name, const boost::property_tree::ptree &_pt) |
| Inherited from DDSTopoElement. More... | |
| virtual std::string | toString () const |
| Returns string representation of an object. More... | |
Public Member Functions inherited from dds::topology_api::CTopoBase | |
| void | setId (const std::string &_id) |
| Modifiers. More... | |
| void | setParent (CTopoBase *_parent) |
| std::string | getId () const |
| Accessors. More... | |
| ETopoType | getType () const |
| CTopoBase * | getParent () const |
| std::string | getPath () const |
| Return full path to topo element or property. More... | |
| CTopoIndex | getIndex () const |
| Return index of topo element or property. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &_strm, const CTask &_task) |
| Operator << for convenient output to ostream. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from dds::topology_api::CTopoBase | |
| static const boost::property_tree::ptree & | findElement (ETopoType _type, const std::string &_name, const boost::property_tree::ptree &_pt) |
| Helper function to find element in property tree by type and name. More... | |
Protected Member Functions inherited from dds::topology_api::CTopoElement | |
| CTopoElement () | |
| Constructor. More... | |
| virtual | ~CTopoElement () |
| Destructor. More... | |
| size_t | getTotalCounterDefault () const |
| If parent is a group than return N, else return 1. Default implementation for Task::getTotalCounter and TaskCollection::getTotalCounter. More... | |
Protected Member Functions inherited from dds::topology_api::CTopoBase | |
| CTopoBase () | |
| Constructor. More... | |
| virtual | ~CTopoBase () |
| Destructor. More... | |
| void | setType (ETopoType _type) |
| CTask::CTask | ( | ) |
Constructor.
|
virtual |
Destructor.
| void CTask::addProperty | ( | TopoPropertyPtr_t | _property | ) |
| void CTask::addRequirement | ( | RequirementPtr_t | _requirement | ) |
| void CTask::addTrigger | ( | TriggerPtr_t | _trigger | ) |
| const string & CTask::getEnv | ( | ) | const |
| const string & CTask::getExe | ( | ) | const |
Accessors.
| size_t CTask::getNofProperties | ( | ) | const |
| size_t CTask::getNofRequirements | ( | ) | const |
|
virtual |
Inherited from DDSTopoElement.
Implements dds::topology_api::CTopoElement.
| size_t CTask::getNofTriggers | ( | ) | const |
| std::string CTask::getParentCollectionId | ( | ) | const |
| std::string CTask::getParentGroupId | ( | ) | const |
| const TopoPropertyPtrVector_t & CTask::getProperties | ( | ) | const |
| TopoPropertyPtr_t CTask::getProperty | ( | size_t | _i | ) | const |
| TopoPropertyPtr_t CTask::getProperty | ( | const std::string & | _id | ) | const |
Get property by ID. If property not fount than return nullptr.
| const RequirementPtrVector_t & CTask::getRequirements | ( | ) | const |
| size_t CTask::getTotalCounter | ( | ) | const |
If parent is a group than return N, else return 1.
|
virtual |
Inherited from DDSTopoElement.
Implements dds::topology_api::CTopoElement.
| const TriggerPtrVector_t & CTask::getTriggers | ( | ) | const |
|
virtual |
Inherited from DDSTopoElement.
Implements dds::topology_api::CTopoBase.
| bool CTask::isEnvReachable | ( | ) | const |
| bool CTask::isExeReachable | ( | ) | const |
| void CTask::setEnv | ( | const std::string & | _env | ) |
| void CTask::setEnvReachable | ( | bool | _envReachable | ) |
| void CTask::setExe | ( | const std::string & | _exe | ) |
Modifiers.
| void CTask::setExeReachable | ( | bool | _exeReachable | ) |
| void CTask::setProperties | ( | const TopoPropertyPtrVector_t & | _properties | ) |
| void CTask::setRequirements | ( | const RequirementPtrVector_t & | _requirements | ) |
| void CTask::setTriggers | ( | const TriggerPtrVector_t & | _triggers | ) |
|
virtual |
Returns string representation of an object.
Reimplemented from dds::topology_api::CTopoBase.
|
friend |
Operator << for convenient output to ostream.
1.8.13