#include <TopoTrigger.h>
|
enum | EConditionType { EConditionType::None,
EConditionType::TaskCrashed
} |
|
enum | EActionType { EActionType::None,
EActionType::RestartTask
} |
|
using | Ptr_t = std::shared_ptr< CTopoTrigger > |
|
using | PtrVector_t = std::vector< CTopoTrigger::Ptr_t > |
|
enum | EType {
EType::TOPO_BASE,
EType::TOPO_PROPERTY,
EType::TOPO_ELEMENT,
EType::TASK,
EType::COLLECTION,
EType::GROUP,
EType::REQUIREMENT,
EType::TOPO_VARS,
EType::TRIGGER
} |
|
using | Ptr_t = std::shared_ptr< CTopoBase > |
|
using | PtrVector_t = std::vector< CTopoBase::Ptr_t > |
|
|
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...
|
|
| CTopoBase (const std::string &_name) |
| Constructor. More...
|
|
virtual | ~CTopoBase () |
| Destructor. More...
|
|
void | setType (CTopoBase::EType _type) |
|
◆ Ptr_t
◆ PtrVector_t
◆ EActionType
Enumerator |
---|
None | |
RestartTask | |
◆ EConditionType
Enumerator |
---|
None | |
TaskCrashed | |
◆ CTopoTrigger()
CTopoTrigger::CTopoTrigger |
( |
const std::string & |
_name | ) |
|
◆ ~CTopoTrigger()
CTopoTrigger::~CTopoTrigger |
( |
| ) |
|
|
virtual |
◆ getAction()
◆ getArgument()
const std::string & CTopoTrigger::getArgument |
( |
| ) |
const |
◆ getCondition()
◆ hashString()
string CTopoTrigger::hashString |
( |
| ) |
const |
|
virtual |
◆ initFromPropertyTree()
void CTopoTrigger::initFromPropertyTree |
( |
const boost::property_tree::ptree & |
_pt | ) |
|
|
virtual |
◆ saveToPropertyTree()
void CTopoTrigger::saveToPropertyTree |
( |
boost::property_tree::ptree & |
_pt | ) |
|
|
virtual |
◆ setAction()
◆ setArgument()
void CTopoTrigger::setArgument |
( |
const std::string & |
_argument | ) |
|
◆ setCondition()
◆ toString()
string CTopoTrigger::toString |
( |
| ) |
const |
|
virtual |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
_strm, |
|
|
const CTopoTrigger & |
_trigger |
|
) |
| |
|
friend |
Operator << for convenient output to ostream.
- Returns
- Insertion stream in order to be able to call a succession of insertion operations.
The documentation for this class was generated from the following files: