openrave_session.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/openrave_session.srv */
00002 #ifndef OPENRAVEROS_SERVICE_OPENRAVE_SESSION_H
00003 #define OPENRAVEROS_SERVICE_OPENRAVE_SESSION_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 openrave_sessionRequest_ {
00026   typedef openrave_sessionRequest_<ContainerAllocator> Type;
00027 
00028   openrave_sessionRequest_()
00029   : sessionid(0)
00030   , clone_sessionid(0)
00031   , clone_options(0)
00032   , physicsengine()
00033   , collisionchecker()
00034   , viewer()
00035   {
00036   }
00037 
00038   openrave_sessionRequest_(const ContainerAllocator& _alloc)
00039   : sessionid(0)
00040   , clone_sessionid(0)
00041   , clone_options(0)
00042   , physicsengine(_alloc)
00043   , collisionchecker(_alloc)
00044   , viewer(_alloc)
00045   {
00046   }
00047 
00048   typedef int32_t _sessionid_type;
00049   int32_t sessionid;
00050 
00051   typedef int32_t _clone_sessionid_type;
00052   int32_t clone_sessionid;
00053 
00054   typedef uint8_t _clone_options_type;
00055   uint8_t clone_options;
00056 
00057   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _physicsengine_type;
00058   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  physicsengine;
00059 
00060   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _collisionchecker_type;
00061   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  collisionchecker;
00062 
00063   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _viewer_type;
00064   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  viewer;
00065 
00066   enum { CloneBodies = 1 };
00067   enum { CloneViewer = 2 };
00068   enum { CloneSimulation = 4 };
00069   enum { CloneRealControllers = 8 };
00070 
00071   typedef boost::shared_ptr< ::openraveros::openrave_sessionRequest_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::openraveros::openrave_sessionRequest_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct openrave_sessionRequest
00075 typedef  ::openraveros::openrave_sessionRequest_<std::allocator<void> > openrave_sessionRequest;
00076 
00077 typedef boost::shared_ptr< ::openraveros::openrave_sessionRequest> openrave_sessionRequestPtr;
00078 typedef boost::shared_ptr< ::openraveros::openrave_sessionRequest const> openrave_sessionRequestConstPtr;
00079 
00080 
00081 template <class ContainerAllocator>
00082 struct openrave_sessionResponse_ {
00083   typedef openrave_sessionResponse_<ContainerAllocator> Type;
00084 
00085   openrave_sessionResponse_()
00086   : sessionid(0)
00087   {
00088   }
00089 
00090   openrave_sessionResponse_(const ContainerAllocator& _alloc)
00091   : sessionid(0)
00092   {
00093   }
00094 
00095   typedef int32_t _sessionid_type;
00096   int32_t sessionid;
00097 
00098 
00099   typedef boost::shared_ptr< ::openraveros::openrave_sessionResponse_<ContainerAllocator> > Ptr;
00100   typedef boost::shared_ptr< ::openraveros::openrave_sessionResponse_<ContainerAllocator>  const> ConstPtr;
00101   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00102 }; // struct openrave_sessionResponse
00103 typedef  ::openraveros::openrave_sessionResponse_<std::allocator<void> > openrave_sessionResponse;
00104 
00105 typedef boost::shared_ptr< ::openraveros::openrave_sessionResponse> openrave_sessionResponsePtr;
00106 typedef boost::shared_ptr< ::openraveros::openrave_sessionResponse const> openrave_sessionResponseConstPtr;
00107 
00108 struct openrave_session
00109 {
00110 
00111 typedef openrave_sessionRequest Request;
00112 typedef openrave_sessionResponse Response;
00113 Request request;
00114 Response response;
00115 
00116 typedef Request RequestType;
00117 typedef Response ResponseType;
00118 }; // struct openrave_session
00119 } // namespace openraveros
00120 
00121 namespace ros
00122 {
00123 namespace message_traits
00124 {
00125 template<class ContainerAllocator> struct IsMessage< ::openraveros::openrave_sessionRequest_<ContainerAllocator> > : public TrueType {};
00126 template<class ContainerAllocator> struct IsMessage< ::openraveros::openrave_sessionRequest_<ContainerAllocator>  const> : public TrueType {};
00127 template<class ContainerAllocator>
00128 struct MD5Sum< ::openraveros::openrave_sessionRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "dfaa44068825bd1df4b20f7cf73ca45b";
00132   }
00133 
00134   static const char* value(const  ::openraveros::openrave_sessionRequest_<ContainerAllocator> &) { return value(); } 
00135   static const uint64_t static_value1 = 0xdfaa44068825bd1dULL;
00136   static const uint64_t static_value2 = 0xf4b20f7cf73ca45bULL;
00137 };
00138 
00139 template<class ContainerAllocator>
00140 struct DataType< ::openraveros::openrave_sessionRequest_<ContainerAllocator> > {
00141   static const char* value() 
00142   {
00143     return "openraveros/openrave_sessionRequest";
00144   }
00145 
00146   static const char* value(const  ::openraveros::openrave_sessionRequest_<ContainerAllocator> &) { return value(); } 
00147 };
00148 
00149 template<class ContainerAllocator>
00150 struct Definition< ::openraveros::openrave_sessionRequest_<ContainerAllocator> > {
00151   static const char* value() 
00152   {
00153     return "\n\
00154 \n\
00155 \n\
00156 \n\
00157 \n\
00158 \n\
00159 int32 sessionid\n\
00160 \n\
00161 \n\
00162 \n\
00163 int32 clone_sessionid\n\
00164 \n\
00165 \n\
00166 uint8 clone_options\n\
00167 \n\
00168 uint8 CloneBodies=1\n\
00169 uint8 CloneViewer=2\n\
00170 uint8 CloneSimulation=4\n\
00171 uint8 CloneRealControllers=8\n\
00172 \n\
00173 \n\
00174 \n\
00175 string physicsengine\n\
00176 string collisionchecker\n\
00177 string viewer\n\
00178 \n\
00179 \n\
00180 ";
00181   }
00182 
00183   static const char* value(const  ::openraveros::openrave_sessionRequest_<ContainerAllocator> &) { return value(); } 
00184 };
00185 
00186 } // namespace message_traits
00187 } // namespace ros
00188 
00189 
00190 namespace ros
00191 {
00192 namespace message_traits
00193 {
00194 template<class ContainerAllocator> struct IsMessage< ::openraveros::openrave_sessionResponse_<ContainerAllocator> > : public TrueType {};
00195 template<class ContainerAllocator> struct IsMessage< ::openraveros::openrave_sessionResponse_<ContainerAllocator>  const> : public TrueType {};
00196 template<class ContainerAllocator>
00197 struct MD5Sum< ::openraveros::openrave_sessionResponse_<ContainerAllocator> > {
00198   static const char* value() 
00199   {
00200     return "8e5dc427c491661ad151bd29bea23253";
00201   }
00202 
00203   static const char* value(const  ::openraveros::openrave_sessionResponse_<ContainerAllocator> &) { return value(); } 
00204   static const uint64_t static_value1 = 0x8e5dc427c491661aULL;
00205   static const uint64_t static_value2 = 0xd151bd29bea23253ULL;
00206 };
00207 
00208 template<class ContainerAllocator>
00209 struct DataType< ::openraveros::openrave_sessionResponse_<ContainerAllocator> > {
00210   static const char* value() 
00211   {
00212     return "openraveros/openrave_sessionResponse";
00213   }
00214 
00215   static const char* value(const  ::openraveros::openrave_sessionResponse_<ContainerAllocator> &) { return value(); } 
00216 };
00217 
00218 template<class ContainerAllocator>
00219 struct Definition< ::openraveros::openrave_sessionResponse_<ContainerAllocator> > {
00220   static const char* value() 
00221   {
00222     return "int32 sessionid\n\
00223 \n\
00224 \n\
00225 ";
00226   }
00227 
00228   static const char* value(const  ::openraveros::openrave_sessionResponse_<ContainerAllocator> &) { return value(); } 
00229 };
00230 
00231 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::openrave_sessionResponse_<ContainerAllocator> > : public TrueType {};
00232 } // namespace message_traits
00233 } // namespace ros
00234 
00235 namespace ros
00236 {
00237 namespace serialization
00238 {
00239 
00240 template<class ContainerAllocator> struct Serializer< ::openraveros::openrave_sessionRequest_<ContainerAllocator> >
00241 {
00242   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00243   {
00244     stream.next(m.sessionid);
00245     stream.next(m.clone_sessionid);
00246     stream.next(m.clone_options);
00247     stream.next(m.physicsengine);
00248     stream.next(m.collisionchecker);
00249     stream.next(m.viewer);
00250   }
00251 
00252   ROS_DECLARE_ALLINONE_SERIALIZER;
00253 }; // struct openrave_sessionRequest_
00254 } // namespace serialization
00255 } // namespace ros
00256 
00257 
00258 namespace ros
00259 {
00260 namespace serialization
00261 {
00262 
00263 template<class ContainerAllocator> struct Serializer< ::openraveros::openrave_sessionResponse_<ContainerAllocator> >
00264 {
00265   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00266   {
00267     stream.next(m.sessionid);
00268   }
00269 
00270   ROS_DECLARE_ALLINONE_SERIALIZER;
00271 }; // struct openrave_sessionResponse_
00272 } // namespace serialization
00273 } // namespace ros
00274 
00275 namespace ros
00276 {
00277 namespace service_traits
00278 {
00279 template<>
00280 struct MD5Sum<openraveros::openrave_session> {
00281   static const char* value() 
00282   {
00283     return "8e5ae5945eaae04a0a7641c7ec603ee0";
00284   }
00285 
00286   static const char* value(const openraveros::openrave_session&) { return value(); } 
00287 };
00288 
00289 template<>
00290 struct DataType<openraveros::openrave_session> {
00291   static const char* value() 
00292   {
00293     return "openraveros/openrave_session";
00294   }
00295 
00296   static const char* value(const openraveros::openrave_session&) { return value(); } 
00297 };
00298 
00299 template<class ContainerAllocator>
00300 struct MD5Sum<openraveros::openrave_sessionRequest_<ContainerAllocator> > {
00301   static const char* value() 
00302   {
00303     return "8e5ae5945eaae04a0a7641c7ec603ee0";
00304   }
00305 
00306   static const char* value(const openraveros::openrave_sessionRequest_<ContainerAllocator> &) { return value(); } 
00307 };
00308 
00309 template<class ContainerAllocator>
00310 struct DataType<openraveros::openrave_sessionRequest_<ContainerAllocator> > {
00311   static const char* value() 
00312   {
00313     return "openraveros/openrave_session";
00314   }
00315 
00316   static const char* value(const openraveros::openrave_sessionRequest_<ContainerAllocator> &) { return value(); } 
00317 };
00318 
00319 template<class ContainerAllocator>
00320 struct MD5Sum<openraveros::openrave_sessionResponse_<ContainerAllocator> > {
00321   static const char* value() 
00322   {
00323     return "8e5ae5945eaae04a0a7641c7ec603ee0";
00324   }
00325 
00326   static const char* value(const openraveros::openrave_sessionResponse_<ContainerAllocator> &) { return value(); } 
00327 };
00328 
00329 template<class ContainerAllocator>
00330 struct DataType<openraveros::openrave_sessionResponse_<ContainerAllocator> > {
00331   static const char* value() 
00332   {
00333     return "openraveros/openrave_session";
00334   }
00335 
00336   static const char* value(const openraveros::openrave_sessionResponse_<ContainerAllocator> &) { return value(); } 
00337 };
00338 
00339 } // namespace service_traits
00340 } // namespace ros
00341 
00342 #endif // OPENRAVEROS_SERVICE_OPENRAVE_SESSION_H
00343 
 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:07