libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
ent_surface.hpp
1 #ifndef ENT_SURFACE_H
2 #define ENT_SURFACE_H
3 
4 #include "API/Device/robot.hpp"
5 #include <jsoncpp/json/json.h>
6 
7 //#include <string>
8 //#include <vector>
9 //#include <map>
10 
11 #include "Logging/Logger.h"
12 
13 
14 
15 
16 namespace Ent {
17 
18 
24 class Surface
25 {
26  MOVE3D_STATIC_LOGGER;
27 public:
28  Surface( std::string global_json_path);
29  ~Surface();
30 
31 
32  //json import/export
33  //.global
34  std::string getPath();
35 
36  //.import
37  bool fetchData();
38  bool importJsonFile(const std::string &path);
39  bool createSurfaceInObjects(Json::Value const & value);
40 
41  //.json conversion
42  bool setToObjRob(Robot *rob, const Json::Value &value);
43 
44 
45 private:
46  std::string _global_json_path;
47 };
48 
49 } // namespace Ent
50 
51 #endif // ENT_SURFACE_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...
Surface Find the list of surfaces per object.
Definition: ent_surface.hpp:24