Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_SERVICE_ENV_WAIT_H
00003 #define OPENRAVEROS_SERVICE_ENV_WAIT_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_waitRequest_ {
00026 typedef env_waitRequest_<ContainerAllocator> Type;
00027
00028 env_waitRequest_()
00029 : bodyid(0)
00030 , timeout(0.0)
00031 {
00032 }
00033
00034 env_waitRequest_(const ContainerAllocator& _alloc)
00035 : bodyid(0)
00036 , timeout(0.0)
00037 {
00038 }
00039
00040 typedef int32_t _bodyid_type;
00041 int32_t bodyid;
00042
00043 typedef float _timeout_type;
00044 float timeout;
00045
00046
00047 typedef boost::shared_ptr< ::openraveros::env_waitRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::openraveros::env_waitRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::openraveros::env_waitRequest_<std::allocator<void> > env_waitRequest;
00052
00053 typedef boost::shared_ptr< ::openraveros::env_waitRequest> env_waitRequestPtr;
00054 typedef boost::shared_ptr< ::openraveros::env_waitRequest const> env_waitRequestConstPtr;
00055
00056
00057 template <class ContainerAllocator>
00058 struct env_waitResponse_ {
00059 typedef env_waitResponse_<ContainerAllocator> Type;
00060
00061 env_waitResponse_()
00062 : isdone(0)
00063 {
00064 }
00065
00066 env_waitResponse_(const ContainerAllocator& _alloc)
00067 : isdone(0)
00068 {
00069 }
00070
00071 typedef uint8_t _isdone_type;
00072 uint8_t isdone;
00073
00074
00075 typedef boost::shared_ptr< ::openraveros::env_waitResponse_<ContainerAllocator> > Ptr;
00076 typedef boost::shared_ptr< ::openraveros::env_waitResponse_<ContainerAllocator> const> ConstPtr;
00077 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078 };
00079 typedef ::openraveros::env_waitResponse_<std::allocator<void> > env_waitResponse;
00080
00081 typedef boost::shared_ptr< ::openraveros::env_waitResponse> env_waitResponsePtr;
00082 typedef boost::shared_ptr< ::openraveros::env_waitResponse const> env_waitResponseConstPtr;
00083
00084 struct env_wait
00085 {
00086
00087 typedef env_waitRequest Request;
00088 typedef env_waitResponse Response;
00089 Request request;
00090 Response response;
00091
00092 typedef Request RequestType;
00093 typedef Response ResponseType;
00094 };
00095 }
00096
00097 namespace ros
00098 {
00099 namespace message_traits
00100 {
00101 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_waitRequest_<ContainerAllocator> > : public TrueType {};
00102 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_waitRequest_<ContainerAllocator> const> : public TrueType {};
00103 template<class ContainerAllocator>
00104 struct MD5Sum< ::openraveros::env_waitRequest_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "ba8d23e770b4730451bcbb4dcc5539b2";
00108 }
00109
00110 static const char* value(const ::openraveros::env_waitRequest_<ContainerAllocator> &) { return value(); }
00111 static const uint64_t static_value1 = 0xba8d23e770b47304ULL;
00112 static const uint64_t static_value2 = 0x51bcbb4dcc5539b2ULL;
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct DataType< ::openraveros::env_waitRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "openraveros/env_waitRequest";
00120 }
00121
00122 static const char* value(const ::openraveros::env_waitRequest_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct Definition< ::openraveros::env_waitRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "\n\
00130 \n\
00131 \n\
00132 \n\
00133 \n\
00134 int32 bodyid\n\
00135 \n\
00136 \n\
00137 \n\
00138 float32 timeout\n\
00139 \n\
00140 ";
00141 }
00142
00143 static const char* value(const ::openraveros::env_waitRequest_<ContainerAllocator> &) { return value(); }
00144 };
00145
00146 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::env_waitRequest_<ContainerAllocator> > : public TrueType {};
00147 }
00148 }
00149
00150
00151 namespace ros
00152 {
00153 namespace message_traits
00154 {
00155 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_waitResponse_<ContainerAllocator> > : public TrueType {};
00156 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_waitResponse_<ContainerAllocator> const> : public TrueType {};
00157 template<class ContainerAllocator>
00158 struct MD5Sum< ::openraveros::env_waitResponse_<ContainerAllocator> > {
00159 static const char* value()
00160 {
00161 return "97c33dacc5305e09f069ef8792d18ddc";
00162 }
00163
00164 static const char* value(const ::openraveros::env_waitResponse_<ContainerAllocator> &) { return value(); }
00165 static const uint64_t static_value1 = 0x97c33dacc5305e09ULL;
00166 static const uint64_t static_value2 = 0xf069ef8792d18ddcULL;
00167 };
00168
00169 template<class ContainerAllocator>
00170 struct DataType< ::openraveros::env_waitResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "openraveros/env_waitResponse";
00174 }
00175
00176 static const char* value(const ::openraveros::env_waitResponse_<ContainerAllocator> &) { return value(); }
00177 };
00178
00179 template<class ContainerAllocator>
00180 struct Definition< ::openraveros::env_waitResponse_<ContainerAllocator> > {
00181 static const char* value()
00182 {
00183 return "\n\
00184 \n\
00185 uint8 isdone\n\
00186 \n\
00187 \n\
00188 ";
00189 }
00190
00191 static const char* value(const ::openraveros::env_waitResponse_<ContainerAllocator> &) { return value(); }
00192 };
00193
00194 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::env_waitResponse_<ContainerAllocator> > : public TrueType {};
00195 }
00196 }
00197
00198 namespace ros
00199 {
00200 namespace serialization
00201 {
00202
00203 template<class ContainerAllocator> struct Serializer< ::openraveros::env_waitRequest_<ContainerAllocator> >
00204 {
00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00206 {
00207 stream.next(m.bodyid);
00208 stream.next(m.timeout);
00209 }
00210
00211 ROS_DECLARE_ALLINONE_SERIALIZER;
00212 };
00213 }
00214 }
00215
00216
00217 namespace ros
00218 {
00219 namespace serialization
00220 {
00221
00222 template<class ContainerAllocator> struct Serializer< ::openraveros::env_waitResponse_<ContainerAllocator> >
00223 {
00224 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00225 {
00226 stream.next(m.isdone);
00227 }
00228
00229 ROS_DECLARE_ALLINONE_SERIALIZER;
00230 };
00231 }
00232 }
00233
00234 namespace ros
00235 {
00236 namespace service_traits
00237 {
00238 template<>
00239 struct MD5Sum<openraveros::env_wait> {
00240 static const char* value()
00241 {
00242 return "586d42b1380f12a928c424b845c4583e";
00243 }
00244
00245 static const char* value(const openraveros::env_wait&) { return value(); }
00246 };
00247
00248 template<>
00249 struct DataType<openraveros::env_wait> {
00250 static const char* value()
00251 {
00252 return "openraveros/env_wait";
00253 }
00254
00255 static const char* value(const openraveros::env_wait&) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct MD5Sum<openraveros::env_waitRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "586d42b1380f12a928c424b845c4583e";
00263 }
00264
00265 static const char* value(const openraveros::env_waitRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct DataType<openraveros::env_waitRequest_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "openraveros/env_wait";
00273 }
00274
00275 static const char* value(const openraveros::env_waitRequest_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct MD5Sum<openraveros::env_waitResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "586d42b1380f12a928c424b845c4583e";
00283 }
00284
00285 static const char* value(const openraveros::env_waitResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct DataType<openraveros::env_waitResponse_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "openraveros/env_wait";
00293 }
00294
00295 static const char* value(const openraveros::env_waitResponse_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 }
00299 }
00300
00301 #endif // OPENRAVEROS_SERVICE_ENV_WAIT_H
00302