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