libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
ent_agent.hpp
1 #ifndef ENT_AGENT_H
2 #define ENT_AGENT_H
3 #include "API/Device/robot.hpp"
4 #include <jsoncpp/json/json.h>
5 
6 #include "Logging/Logger.h"
7 
8 
9 
10 
11 namespace Ent {
12 
18 class Agent
19 {
20  MOVE3D_STATIC_LOGGER;
21 public:
22  Agent( std::string global_json_path);
23  ~Agent();
24 
25 
26  //json import/export
27  //.global
28  std::string getPath();
29 
30  //.import
31  bool fetchData();
32  bool importJsonFile(const std::string &path);
33  bool createAgentInRob(Json::Value const & value);
34 
35  //.json conversion
36  bool setToObjRob(Robot *rob, const Json::Value &value);
37 
38 
39 private:
40  std::string _global_json_path;
41 };
42 
43 } // namespace Ent
44 
45 #endif // ENT_AGENT_H
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
This file implements macros to help with the logging, in a way similar to ROS, using log4cxx...
Agent distinguish between agents and objects.
Definition: ent_agent.hpp:18