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