libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
ent_virtual.hpp
1 #ifndef ENT_VIRTUAL_H
2 #define ENT_VIRTUAL_H
3 
4 #include "API/Device/robot.hpp"
5 #include <jsoncpp/json/json.h>
6 
7 #include "Logging/Logger.h"
8 
9 
10 namespace Ent {
11 
12 
18 class Virtual
19 {
20  MOVE3D_STATIC_LOGGER;
21 public:
22  Virtual( std::string global_json_path);
23  ~Virtual();
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 createVirtualObjects(Json::Value const & value);
34 
35  //.json conversion
36  bool setToObjRob(Robot *rob);
37 
38 
39 private:
40  std::string _global_json_path;
41 };
42 
43 } // namespace Ent
44 
45 #endif // ENT_VIRTUAL_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...
Virtual distinguish between virtual and normal objects.
Definition: ent_virtual.hpp:18