IEC61970 16v29a
Task.hpp
1 #ifndef TASK_HPP
2 #define TASK_HPP
3 
4 #include <unordered_map>
5 #include <string>
6 #include "BaseClass.h"
7 
8 class Task
9 {
10 public:
11  Task();
12  Task(BaseClass* CIMObj, const std::string CIMAttrName, const std::string Value);
13  ~Task();
14  bool resolve(std::unordered_map<std::string, BaseClass*> *RDFMap);
15  void print();
16 
17 private:
18  BaseClass* _CIMObj;
19  std::string _CIMAttrName;
20  std::string _Value;
21  static std::unordered_map<std::string, bool (*)(BaseClass*, BaseClass*)> dynamic_switch;
22 };
23 
24 #endif // TASK_HPP
Definition: BaseClass.h:6
Definition: Task.hpp:8