GAMS  1.4.0
VREPSummit.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_PLATFORM_VREP_SUMMIT_H_
55 #define _GAMS_PLATFORM_VREP_SUMMIT_H_
56 
59 
60 #include "gams/variables/Self.h"
61 #include "gams/variables/Sensor.h"
63 #include "madara/knowledge/KnowledgeBase.h"
64 
65 extern "C" {
66 #include "extApi.h"
67 }
68 
69 
70 #ifdef _GAMS_VREP_
71 
72 namespace gams
73 {
74  namespace platforms
75  {
79  class GAMS_EXPORT VREPSummit : public VREPBase
80  {
81  public:
85  const static std::string DEFAULT_SUMMIT_MODEL;
86 
96  VREPSummit(
97  const std::string& file,
98  const simxUChar client_side,
99  madara::knowledge::KnowledgeBase * knowledge,
100  variables::Sensors * sensors,
101  variables::Platforms * platforms,
102  variables::Self * self);
103 
109  virtual std::string get_id() const;
110 
114  virtual std::string get_name() const;
115 
116  protected:
120  virtual void add_model_to_environment(const std::string& file,
121  const simxUChar client_side);
122 
126  virtual void get_target_handle();
127 
131  virtual double get_initial_z() const;
132  }; // class VREPSummit
133 
137  class GAMS_EXPORT VREPSummitFactory : public PlatformFactory
138  {
139  public:
140 
153  virtual BasePlatform * create(
154  const madara::knowledge::KnowledgeMap & args,
155  madara::knowledge::KnowledgeBase * knowledge,
156  variables::Sensors * sensors,
157  variables::Platforms * platforms,
158  variables::Self * self);
159  };
160  } // namespace platform
161 } // namespace gams
162 
163 #endif // _GAMS_VREP_
164 
165 #endif // _GAMS_PLATFORM_VREP_SUMMIT_H_
#define GAMS_EXPORT
Definition: GamsExport.h:20
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
std::map< std::string, PlatformStatus > Platforms
a map of sensor names to the sensor information
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
Definition: Sensor.h:238
Contains all GAMS-related tools, classes and code.