env_set.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/openrave_planning/openraveros/srv/env_set.srv */
00002 #ifndef OPENRAVEROS_SERVICE_ENV_SET_H
00003 #define OPENRAVEROS_SERVICE_ENV_SET_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "ros/service_traits.h"
00018 
00019 
00020 
00021 
00022 namespace openraveros
00023 {
00024 template <class ContainerAllocator>
00025 struct env_setRequest_ {
00026   typedef env_setRequest_<ContainerAllocator> Type;
00027 
00028   env_setRequest_()
00029   : setmask(0)
00030   , sim_action(0)
00031   , sim_timestep(0.0)
00032   , physicsengine()
00033   , collisionchecker()
00034   , viewer()
00035   , viewerwidth(0)
00036   , viewerheight(0)
00037   , gravity()
00038   , debuglevel()
00039   {
00040     gravity.assign(0.0);
00041   }
00042 
00043   env_setRequest_(const ContainerAllocator& _alloc)
00044   : setmask(0)
00045   , sim_action(0)
00046   , sim_timestep(0.0)
00047   , physicsengine(_alloc)
00048   , collisionchecker(_alloc)
00049   , viewer(_alloc)
00050   , viewerwidth(0)
00051   , viewerheight(0)
00052   , gravity()
00053   , debuglevel(_alloc)
00054   {
00055     gravity.assign(0.0);
00056   }
00057 
00058   typedef uint32_t _setmask_type;
00059   uint32_t setmask;
00060 
00061   typedef uint8_t _sim_action_type;
00062   uint8_t sim_action;
00063 
00064   typedef float _sim_timestep_type;
00065   float sim_timestep;
00066 
00067   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _physicsengine_type;
00068   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  physicsengine;
00069 
00070   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _collisionchecker_type;
00071   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  collisionchecker;
00072 
00073   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _viewer_type;
00074   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  viewer;
00075 
00076   typedef int32_t _viewerwidth_type;
00077   int32_t viewerwidth;
00078 
00079   typedef int32_t _viewerheight_type;
00080   int32_t viewerheight;
00081 
00082   typedef boost::array<float, 3>  _gravity_type;
00083   boost::array<float, 3>  gravity;
00084 
00085   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _debuglevel_type;
00086   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  debuglevel;
00087 
00088   enum { Set_Simulation = 1 };
00089   enum { Set_PhysicsEngine = 2 };
00090   enum { Set_CollisionChecker = 4 };
00091   enum { Set_Gravity = 8 };
00092   enum { Set_DebugLevel = 32 };
00093   enum { Set_Viewer = 64 };
00094   enum { Set_ViewerDims = 128 };
00095   enum { SimAction_Start = 1 };
00096   enum { SimAction_Stop = 2 };
00097   enum { SimAction_Timestep = 3 };
00098 
00099   typedef boost::shared_ptr< ::openraveros::env_setRequest_<ContainerAllocator> > Ptr;
00100   typedef boost::shared_ptr< ::openraveros::env_setRequest_<ContainerAllocator>  const> ConstPtr;
00101   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00102 }; // struct env_setRequest
00103 typedef  ::openraveros::env_setRequest_<std::allocator<void> > env_setRequest;
00104 
00105 typedef boost::shared_ptr< ::openraveros::env_setRequest> env_setRequestPtr;
00106 typedef boost::shared_ptr< ::openraveros::env_setRequest const> env_setRequestConstPtr;
00107 
00108 
00109 template <class ContainerAllocator>
00110 struct env_setResponse_ {
00111   typedef env_setResponse_<ContainerAllocator> Type;
00112 
00113   env_setResponse_()
00114   {
00115   }
00116 
00117   env_setResponse_(const ContainerAllocator& _alloc)
00118   {
00119   }
00120 
00121 
00122   typedef boost::shared_ptr< ::openraveros::env_setResponse_<ContainerAllocator> > Ptr;
00123   typedef boost::shared_ptr< ::openraveros::env_setResponse_<ContainerAllocator>  const> ConstPtr;
00124   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00125 }; // struct env_setResponse
00126 typedef  ::openraveros::env_setResponse_<std::allocator<void> > env_setResponse;
00127 
00128 typedef boost::shared_ptr< ::openraveros::env_setResponse> env_setResponsePtr;
00129 typedef boost::shared_ptr< ::openraveros::env_setResponse const> env_setResponseConstPtr;
00130 
00131 struct env_set
00132 {
00133 
00134 typedef env_setRequest Request;
00135 typedef env_setResponse Response;
00136 Request request;
00137 Response response;
00138 
00139 typedef Request RequestType;
00140 typedef Response ResponseType;
00141 }; // struct env_set
00142 } // namespace openraveros
00143 
00144 namespace ros
00145 {
00146 namespace message_traits
00147 {
00148 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_setRequest_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_setRequest_<ContainerAllocator>  const> : public TrueType {};
00150 template<class ContainerAllocator>
00151 struct MD5Sum< ::openraveros::env_setRequest_<ContainerAllocator> > {
00152   static const char* value() 
00153   {
00154     return "912134b9acb15f89f82428a80c7617cf";
00155   }
00156 
00157   static const char* value(const  ::openraveros::env_setRequest_<ContainerAllocator> &) { return value(); } 
00158   static const uint64_t static_value1 = 0x912134b9acb15f89ULL;
00159   static const uint64_t static_value2 = 0xf82428a80c7617cfULL;
00160 };
00161 
00162 template<class ContainerAllocator>
00163 struct DataType< ::openraveros::env_setRequest_<ContainerAllocator> > {
00164   static const char* value() 
00165   {
00166     return "openraveros/env_setRequest";
00167   }
00168 
00169   static const char* value(const  ::openraveros::env_setRequest_<ContainerAllocator> &) { return value(); } 
00170 };
00171 
00172 template<class ContainerAllocator>
00173 struct Definition< ::openraveros::env_setRequest_<ContainerAllocator> > {
00174   static const char* value() 
00175   {
00176     return "\n\
00177 \n\
00178 uint32 setmask\n\
00179 uint32 Set_Simulation=1\n\
00180 uint32 Set_PhysicsEngine=2\n\
00181 uint32 Set_CollisionChecker=4\n\
00182 uint32 Set_Gravity=8\n\
00183 uint32 Set_DebugLevel=32\n\
00184 uint32 Set_Viewer=64\n\
00185 uint32 Set_ViewerDims=128\n\
00186 \n\
00187 \n\
00188 uint8 sim_action\n\
00189 uint8 SimAction_Start=1\n\
00190 uint8 SimAction_Stop=2\n\
00191 uint8 SimAction_Timestep=3\n\
00192 float32 sim_timestep\n\
00193 \n\
00194 string physicsengine\n\
00195 string collisionchecker\n\
00196 string viewer\n\
00197 int32 viewerwidth\n\
00198 int32 viewerheight\n\
00199 float32[3] gravity\n\
00200 string debuglevel\n\
00201 \n\
00202 ";
00203   }
00204 
00205   static const char* value(const  ::openraveros::env_setRequest_<ContainerAllocator> &) { return value(); } 
00206 };
00207 
00208 } // namespace message_traits
00209 } // namespace ros
00210 
00211 
00212 namespace ros
00213 {
00214 namespace message_traits
00215 {
00216 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_setResponse_<ContainerAllocator> > : public TrueType {};
00217 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_setResponse_<ContainerAllocator>  const> : public TrueType {};
00218 template<class ContainerAllocator>
00219 struct MD5Sum< ::openraveros::env_setResponse_<ContainerAllocator> > {
00220   static const char* value() 
00221   {
00222     return "d41d8cd98f00b204e9800998ecf8427e";
00223   }
00224 
00225   static const char* value(const  ::openraveros::env_setResponse_<ContainerAllocator> &) { return value(); } 
00226   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00227   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00228 };
00229 
00230 template<class ContainerAllocator>
00231 struct DataType< ::openraveros::env_setResponse_<ContainerAllocator> > {
00232   static const char* value() 
00233   {
00234     return "openraveros/env_setResponse";
00235   }
00236 
00237   static const char* value(const  ::openraveros::env_setResponse_<ContainerAllocator> &) { return value(); } 
00238 };
00239 
00240 template<class ContainerAllocator>
00241 struct Definition< ::openraveros::env_setResponse_<ContainerAllocator> > {
00242   static const char* value() 
00243   {
00244     return "\n\
00245 \n\
00246 ";
00247   }
00248 
00249   static const char* value(const  ::openraveros::env_setResponse_<ContainerAllocator> &) { return value(); } 
00250 };
00251 
00252 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::env_setResponse_<ContainerAllocator> > : public TrueType {};
00253 } // namespace message_traits
00254 } // namespace ros
00255 
00256 namespace ros
00257 {
00258 namespace serialization
00259 {
00260 
00261 template<class ContainerAllocator> struct Serializer< ::openraveros::env_setRequest_<ContainerAllocator> >
00262 {
00263   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00264   {
00265     stream.next(m.setmask);
00266     stream.next(m.sim_action);
00267     stream.next(m.sim_timestep);
00268     stream.next(m.physicsengine);
00269     stream.next(m.collisionchecker);
00270     stream.next(m.viewer);
00271     stream.next(m.viewerwidth);
00272     stream.next(m.viewerheight);
00273     stream.next(m.gravity);
00274     stream.next(m.debuglevel);
00275   }
00276 
00277   ROS_DECLARE_ALLINONE_SERIALIZER;
00278 }; // struct env_setRequest_
00279 } // namespace serialization
00280 } // namespace ros
00281 
00282 
00283 namespace ros
00284 {
00285 namespace serialization
00286 {
00287 
00288 template<class ContainerAllocator> struct Serializer< ::openraveros::env_setResponse_<ContainerAllocator> >
00289 {
00290   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00291   {
00292   }
00293 
00294   ROS_DECLARE_ALLINONE_SERIALIZER;
00295 }; // struct env_setResponse_
00296 } // namespace serialization
00297 } // namespace ros
00298 
00299 namespace ros
00300 {
00301 namespace service_traits
00302 {
00303 template<>
00304 struct MD5Sum<openraveros::env_set> {
00305   static const char* value() 
00306   {
00307     return "912134b9acb15f89f82428a80c7617cf";
00308   }
00309 
00310   static const char* value(const openraveros::env_set&) { return value(); } 
00311 };
00312 
00313 template<>
00314 struct DataType<openraveros::env_set> {
00315   static const char* value() 
00316   {
00317     return "openraveros/env_set";
00318   }
00319 
00320   static const char* value(const openraveros::env_set&) { return value(); } 
00321 };
00322 
00323 template<class ContainerAllocator>
00324 struct MD5Sum<openraveros::env_setRequest_<ContainerAllocator> > {
00325   static const char* value() 
00326   {
00327     return "912134b9acb15f89f82428a80c7617cf";
00328   }
00329 
00330   static const char* value(const openraveros::env_setRequest_<ContainerAllocator> &) { return value(); } 
00331 };
00332 
00333 template<class ContainerAllocator>
00334 struct DataType<openraveros::env_setRequest_<ContainerAllocator> > {
00335   static const char* value() 
00336   {
00337     return "openraveros/env_set";
00338   }
00339 
00340   static const char* value(const openraveros::env_setRequest_<ContainerAllocator> &) { return value(); } 
00341 };
00342 
00343 template<class ContainerAllocator>
00344 struct MD5Sum<openraveros::env_setResponse_<ContainerAllocator> > {
00345   static const char* value() 
00346   {
00347     return "912134b9acb15f89f82428a80c7617cf";
00348   }
00349 
00350   static const char* value(const openraveros::env_setResponse_<ContainerAllocator> &) { return value(); } 
00351 };
00352 
00353 template<class ContainerAllocator>
00354 struct DataType<openraveros::env_setResponse_<ContainerAllocator> > {
00355   static const char* value() 
00356   {
00357     return "openraveros/env_set";
00358   }
00359 
00360   static const char* value(const openraveros::env_setResponse_<ContainerAllocator> &) { return value(); } 
00361 };
00362 
00363 } // namespace service_traits
00364 } // namespace ros
00365 
00366 #endif // OPENRAVEROS_SERVICE_ENV_SET_H
00367 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


openraveros
Author(s): Rosen Diankov (rosen.diankov@gmail.com)
autogenerated on Sat Mar 23 2013 22:16:06