DDS  ver. 2.0
TopoUtils.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 
6 #ifndef __DDS__TopoUtils__
7 #define __DDS__TopoUtils__
8 
9 // DDS
10 #include "Requirement.h"
11 #include "TopoElement.h"
12 #include "TopoProperty.h"
13 #include "Trigger.h"
14 // STD
15 #include <string>
16 
17 namespace dds
18 {
19  namespace topology_api
20  {
21  std::string TopoTypeToUseTag(ETopoType _type);
22 
23  ETopoType UseTagToTopoType(const std::string& _name);
24 
25  std::string TopoTypeToDeclTag(ETopoType _type);
26 
27  ETopoType DeclTagToTopoType(const std::string& _name);
28 
29  EPropertyAccessType TagToPropertyAccessType(const std::string& _name);
30 
31  ERequirementType TagToRequirementType(const std::string& _name);
32 
33  std::string RequirementTypeToTag(ERequirementType _type);
34 
35  EConditionType TagToConditionType(const std::string& _name);
36 
37  std::string ConditionTypeToTag(EConditionType _type);
38 
39  EActionType TagToActionType(const std::string& _name);
40 
41  std::string ActionTypeToTag(EActionType _type);
42  }
43 }
44 #endif /* defined(__DDS__TopoUtils__) */
ETopoType
Definition: TopoBase.h:22
EConditionType TagToConditionType(const std::string &_name)
Definition: TopoUtils.cpp:137
string TopoTypeToDeclTag(ETopoType _type)
Definition: TopoUtils.cpp:55
string TopoTypeToUseTag(ETopoType _type)
Definition: TopoUtils.cpp:16
EPropertyAccessType
Definition: TopoProperty.h:22
ETopoType DeclTagToTopoType(const string &_name)
Definition: TopoUtils.cpp:78
std::string ActionTypeToTag(EActionType _type)
Definition: TopoUtils.cpp:164
EActionType TagToActionType(const std::string &_name)
Definition: TopoUtils.cpp:156
Definition: dds-agent/src/AgentConnectionManager.h:18
std::string ConditionTypeToTag(EConditionType _type)
Definition: TopoUtils.cpp:145
ETopoType UseTagToTopoType(const string &_name)
Definition: TopoUtils.cpp:37
ERequirementType
Definition: Requirement.h:18
ERequirementType TagToRequirementType(const string &_name)
Definition: TopoUtils.cpp:110
EActionType
Definition: Trigger.h:24
EConditionType
Definition: Trigger.h:18
std::string RequirementTypeToTag(ERequirementType _type)
Definition: TopoUtils.cpp:122
EPropertyAccessType TagToPropertyAccessType(const string &_name)
Definition: TopoUtils.cpp:98