DDS  ver. 2.0
Classes | Typedefs | Enumerations | Functions
dds::topology_api Namespace Reference

Classes

class  CompareTopoIndexLess
 
class  CRequirement
 
class  CTask
 
class  CTaskCollection
 
class  CTaskContainer
 
class  CTaskGroup
 
class  CTopoBase
 
class  CTopoElement
 
class  CTopoIndex
 
class  CTopology
 
class  CTopologyParserXML
 
class  CTopoProperty
 
class  CTopoVars
 
class  CTrigger
 Data class to hold task trigger. More...
 
struct  STaskInfo
 

Typedefs

typedef std::shared_ptr< CRequirementRequirementPtr_t
 
typedef std::vector< RequirementPtr_tRequirementPtrVector_t
 
typedef std::shared_ptr< CTaskTaskPtr_t
 
typedef std::vector< TaskPtr_tTaskPtrVector_t
 
typedef std::shared_ptr< CTaskCollectionTaskCollectionPtr_t
 
typedef std::vector< TaskCollectionPtr_tTaskCollectionPtrVector_t
 
typedef std::shared_ptr< CTaskContainerTaskContainerPtr_t
 
typedef std::vector< TaskContainerPtr_tTaskContainerPtrVector_t
 
typedef std::shared_ptr< CTaskGroupTaskGroupPtr_t
 
typedef std::shared_ptr< CTopoBaseTopoBasePtr_t
 
typedef std::vector< TopoBasePtr_tTopoBasePtrVector_t
 
typedef std::shared_ptr< CTopoElementTopoElementPtr_t
 
typedef std::vector< TopoElementPtr_tTopoElementPtrVector_t
 
typedef std::vector< CTopoIndexTopoIndexVector_t
 
typedef std::shared_ptr< CTopoPropertyTopoPropertyPtr_t
 
typedef std::vector< TopoPropertyPtr_tTopoPropertyPtrVector_t
 
typedef std::shared_ptr< CTopoVarsTopoVarsPtr_t
 
typedef std::shared_ptr< CTriggerTriggerPtr_t
 
typedef std::vector< TriggerPtr_tTriggerPtrVector_t
 

Enumerations

enum  ERequirementType { ERequirementType::WnName, ERequirementType::HostName, ERequirementType::Gpu }
 
enum  ETopoType {
  ETopoType::TOPO_BASE, ETopoType::TOPO_PROPERTY, ETopoType::TOPO_ELEMENT, ETopoType::TASK,
  ETopoType::COLLECTION, ETopoType::GROUP, ETopoType::REQUIREMENT, ETopoType::TOPO_VARS,
  ETopoType::TRIGGER
}
 
enum  EPropertyAccessType { EPropertyAccessType::READ, EPropertyAccessType::WRITE, EPropertyAccessType::READWRITE }
 
enum  EConditionType { EConditionType::None, EConditionType::TaskCrashed }
 
enum  EActionType { EActionType::None, EActionType::RestartTask }
 

Functions

TopoElementPtr_t CreateTopoElement (ETopoType _type)
 
TopoBasePtr_t CreateTopoBase (ETopoType _type)
 
TopoPropertyPtr_t CreateTopoProperty (ETopoType _type)
 
string TopoTypeToUseTag (ETopoType _type)
 
ETopoType UseTagToTopoType (const string &_name)
 
string TopoTypeToDeclTag (ETopoType _type)
 
ETopoType DeclTagToTopoType (const string &_name)
 
EPropertyAccessType TagToPropertyAccessType (const string &_name)
 
ERequirementType TagToRequirementType (const string &_name)
 
std::string RequirementTypeToTag (ERequirementType _type)
 
EConditionType TagToConditionType (const std::string &_name)
 
std::string ConditionTypeToTag (EConditionType _type)
 
EActionType TagToActionType (const std::string &_name)
 
std::string ActionTypeToTag (EActionType _type)
 
ETopoType UseTagToTopoType (const std::string &_name)
 
ETopoType DeclTagToTopoType (const std::string &_name)
 
EPropertyAccessType TagToPropertyAccessType (const std::string &_name)
 
ERequirementType TagToRequirementType (const std::string &_name)
 

Typedef Documentation

◆ RequirementPtr_t

◆ RequirementPtrVector_t

◆ TaskCollectionPtr_t

◆ TaskCollectionPtrVector_t

◆ TaskContainerPtr_t

◆ TaskContainerPtrVector_t

◆ TaskGroupPtr_t

◆ TaskPtr_t

typedef std::shared_ptr<CTask> dds::topology_api::TaskPtr_t

◆ TaskPtrVector_t

◆ TopoBasePtr_t

typedef std::shared_ptr<CTopoBase> dds::topology_api::TopoBasePtr_t

◆ TopoBasePtrVector_t

◆ TopoElementPtr_t

◆ TopoElementPtrVector_t

◆ TopoIndexVector_t

◆ TopoPropertyPtr_t

◆ TopoPropertyPtrVector_t

◆ TopoVarsPtr_t

typedef std::shared_ptr<CTopoVars> dds::topology_api::TopoVarsPtr_t

◆ TriggerPtr_t

typedef std::shared_ptr<CTrigger> dds::topology_api::TriggerPtr_t

◆ TriggerPtrVector_t

Enumeration Type Documentation

◆ EActionType

Enumerator
None 
RestartTask 

◆ EConditionType

Enumerator
None 
TaskCrashed 

◆ EPropertyAccessType

Enumerator
READ 
WRITE 
READWRITE 

◆ ERequirementType

Enumerator
WnName 
HostName 
Gpu 

◆ ETopoType

Enumerator
TOPO_BASE 
TOPO_PROPERTY 
TOPO_ELEMENT 
TASK 
COLLECTION 
GROUP 
REQUIREMENT 
TOPO_VARS 
TRIGGER 

Function Documentation

◆ ActionTypeToTag()

std::string dds::topology_api::ActionTypeToTag ( EActionType  _type)

◆ ConditionTypeToTag()

std::string dds::topology_api::ConditionTypeToTag ( EConditionType  _type)

◆ CreateTopoBase()

TopoBasePtr_t dds::topology_api::CreateTopoBase ( ETopoType  _type)

◆ CreateTopoElement()

TopoElementPtr_t dds::topology_api::CreateTopoElement ( ETopoType  _type)

◆ CreateTopoProperty()

TopoPropertyPtr_t dds::topology_api::CreateTopoProperty ( ETopoType  _type)

◆ DeclTagToTopoType() [1/2]

ETopoType dds::topology_api::DeclTagToTopoType ( const std::string &  _name)

◆ DeclTagToTopoType() [2/2]

ETopoType dds::topology_api::DeclTagToTopoType ( const string &  _name)

◆ RequirementTypeToTag()

std::string dds::topology_api::RequirementTypeToTag ( ERequirementType  _type)

◆ TagToActionType()

EActionType dds::topology_api::TagToActionType ( const std::string &  _name)

◆ TagToConditionType()

EConditionType dds::topology_api::TagToConditionType ( const std::string &  _name)

◆ TagToPropertyAccessType() [1/2]

EPropertyAccessType dds::topology_api::TagToPropertyAccessType ( const std::string &  _name)

◆ TagToPropertyAccessType() [2/2]

EPropertyAccessType dds::topology_api::TagToPropertyAccessType ( const string &  _name)

◆ TagToRequirementType() [1/2]

ERequirementType dds::topology_api::TagToRequirementType ( const std::string &  _name)

◆ TagToRequirementType() [2/2]

ERequirementType dds::topology_api::TagToRequirementType ( const string &  _name)

◆ TopoTypeToDeclTag()

std::string dds::topology_api::TopoTypeToDeclTag ( ETopoType  _type)

◆ TopoTypeToUseTag()

std::string dds::topology_api::TopoTypeToUseTag ( ETopoType  _type)

◆ UseTagToTopoType() [1/2]

ETopoType dds::topology_api::UseTagToTopoType ( const std::string &  _name)

◆ UseTagToTopoType() [2/2]

ETopoType dds::topology_api::UseTagToTopoType ( const string &  _name)