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