00001
00002 #ifndef SIMPLE_JTRANSPOSE_CONTROLLER_SERVICE_CHECKMOVING_H
00003 #define SIMPLE_JTRANSPOSE_CONTROLLER_SERVICE_CHECKMOVING_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace simple_Jtranspose_controller
00019 {
00020 template <class ContainerAllocator>
00021 struct CheckMovingRequest_ : public ros::Message
00022 {
00023 typedef CheckMovingRequest_<ContainerAllocator> Type;
00024
00025 CheckMovingRequest_()
00026 {
00027 }
00028
00029 CheckMovingRequest_(const ContainerAllocator& _alloc)
00030 {
00031 }
00032
00033
00034 private:
00035 static const char* __s_getDataType_() { return "simple_Jtranspose_controller/CheckMovingRequest"; }
00036 public:
00037 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00038
00039 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00040
00041 private:
00042 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00043 public:
00044 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00045
00046 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00047
00048 private:
00049 static const char* __s_getServerMD5Sum_() { return "b2ff91b2b2ffb28a12be700a13c0ba16"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00052
00053 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00054
00055 private:
00056 static const char* __s_getMessageDefinition_() { return "\n\
00057 "; }
00058 public:
00059 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00060
00061 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00062
00063 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00064 {
00065 ros::serialization::OStream stream(write_ptr, 1000000000);
00066 return stream.getData();
00067 }
00068
00069 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00070 {
00071 ros::serialization::IStream stream(read_ptr, 1000000000);
00072 return stream.getData();
00073 }
00074
00075 ROS_DEPRECATED virtual uint32_t serializationLength() const
00076 {
00077 uint32_t size = 0;
00078 return size;
00079 }
00080
00081 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> const> ConstPtr;
00083 };
00084 typedef ::simple_Jtranspose_controller::CheckMovingRequest_<std::allocator<void> > CheckMovingRequest;
00085
00086 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingRequest> CheckMovingRequestPtr;
00087 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingRequest const> CheckMovingRequestConstPtr;
00088
00089
00090 template <class ContainerAllocator>
00091 struct CheckMovingResponse_ : public ros::Message
00092 {
00093 typedef CheckMovingResponse_<ContainerAllocator> Type;
00094
00095 CheckMovingResponse_()
00096 : ismoving(0)
00097 {
00098 }
00099
00100 CheckMovingResponse_(const ContainerAllocator& _alloc)
00101 : ismoving(0)
00102 {
00103 }
00104
00105 typedef uint8_t _ismoving_type;
00106 uint8_t ismoving;
00107
00108
00109 private:
00110 static const char* __s_getDataType_() { return "simple_Jtranspose_controller/CheckMovingResponse"; }
00111 public:
00112 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00113
00114 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00115
00116 private:
00117 static const char* __s_getMD5Sum_() { return "b2ff91b2b2ffb28a12be700a13c0ba16"; }
00118 public:
00119 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00120
00121 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00122
00123 private:
00124 static const char* __s_getServerMD5Sum_() { return "b2ff91b2b2ffb28a12be700a13c0ba16"; }
00125 public:
00126 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00127
00128 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00129
00130 private:
00131 static const char* __s_getMessageDefinition_() { return "uint8 ismoving\n\
00132 \n\
00133 \n\
00134 "; }
00135 public:
00136 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00137
00138 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00139
00140 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00141 {
00142 ros::serialization::OStream stream(write_ptr, 1000000000);
00143 ros::serialization::serialize(stream, ismoving);
00144 return stream.getData();
00145 }
00146
00147 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00148 {
00149 ros::serialization::IStream stream(read_ptr, 1000000000);
00150 ros::serialization::deserialize(stream, ismoving);
00151 return stream.getData();
00152 }
00153
00154 ROS_DEPRECATED virtual uint32_t serializationLength() const
00155 {
00156 uint32_t size = 0;
00157 size += ros::serialization::serializationLength(ismoving);
00158 return size;
00159 }
00160
00161 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> > Ptr;
00162 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> const> ConstPtr;
00163 };
00164 typedef ::simple_Jtranspose_controller::CheckMovingResponse_<std::allocator<void> > CheckMovingResponse;
00165
00166 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingResponse> CheckMovingResponsePtr;
00167 typedef boost::shared_ptr< ::simple_Jtranspose_controller::CheckMovingResponse const> CheckMovingResponseConstPtr;
00168
00169 struct CheckMoving
00170 {
00171
00172 typedef CheckMovingRequest Request;
00173 typedef CheckMovingResponse Response;
00174 Request request;
00175 Response response;
00176
00177 typedef Request RequestType;
00178 typedef Response ResponseType;
00179 };
00180 }
00181
00182 namespace ros
00183 {
00184 namespace message_traits
00185 {
00186 template<class ContainerAllocator>
00187 struct MD5Sum< ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "d41d8cd98f00b204e9800998ecf8427e";
00191 }
00192
00193 static const char* value(const ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> &) { return value(); }
00194 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00195 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00196 };
00197
00198 template<class ContainerAllocator>
00199 struct DataType< ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> > {
00200 static const char* value()
00201 {
00202 return "simple_Jtranspose_controller/CheckMovingRequest";
00203 }
00204
00205 static const char* value(const ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> &) { return value(); }
00206 };
00207
00208 template<class ContainerAllocator>
00209 struct Definition< ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> > {
00210 static const char* value()
00211 {
00212 return "\n\
00213 ";
00214 }
00215
00216 static const char* value(const ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> &) { return value(); }
00217 };
00218
00219 template<class ContainerAllocator> struct IsFixedSize< ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> > : public TrueType {};
00220 }
00221 }
00222
00223
00224 namespace ros
00225 {
00226 namespace message_traits
00227 {
00228 template<class ContainerAllocator>
00229 struct MD5Sum< ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> > {
00230 static const char* value()
00231 {
00232 return "b2ff91b2b2ffb28a12be700a13c0ba16";
00233 }
00234
00235 static const char* value(const ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> &) { return value(); }
00236 static const uint64_t static_value1 = 0xb2ff91b2b2ffb28aULL;
00237 static const uint64_t static_value2 = 0x12be700a13c0ba16ULL;
00238 };
00239
00240 template<class ContainerAllocator>
00241 struct DataType< ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> > {
00242 static const char* value()
00243 {
00244 return "simple_Jtranspose_controller/CheckMovingResponse";
00245 }
00246
00247 static const char* value(const ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> &) { return value(); }
00248 };
00249
00250 template<class ContainerAllocator>
00251 struct Definition< ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> > {
00252 static const char* value()
00253 {
00254 return "uint8 ismoving\n\
00255 \n\
00256 \n\
00257 ";
00258 }
00259
00260 static const char* value(const ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> &) { return value(); }
00261 };
00262
00263 template<class ContainerAllocator> struct IsFixedSize< ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> > : public TrueType {};
00264 }
00265 }
00266
00267 namespace ros
00268 {
00269 namespace serialization
00270 {
00271
00272 template<class ContainerAllocator> struct Serializer< ::simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> >
00273 {
00274 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00275 {
00276 }
00277
00278 ROS_DECLARE_ALLINONE_SERIALIZER;
00279 };
00280 }
00281 }
00282
00283
00284 namespace ros
00285 {
00286 namespace serialization
00287 {
00288
00289 template<class ContainerAllocator> struct Serializer< ::simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> >
00290 {
00291 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00292 {
00293 stream.next(m.ismoving);
00294 }
00295
00296 ROS_DECLARE_ALLINONE_SERIALIZER;
00297 };
00298 }
00299 }
00300
00301 namespace ros
00302 {
00303 namespace service_traits
00304 {
00305 template<>
00306 struct MD5Sum<simple_Jtranspose_controller::CheckMoving> {
00307 static const char* value()
00308 {
00309 return "b2ff91b2b2ffb28a12be700a13c0ba16";
00310 }
00311
00312 static const char* value(const simple_Jtranspose_controller::CheckMoving&) { return value(); }
00313 };
00314
00315 template<>
00316 struct DataType<simple_Jtranspose_controller::CheckMoving> {
00317 static const char* value()
00318 {
00319 return "simple_Jtranspose_controller/CheckMoving";
00320 }
00321
00322 static const char* value(const simple_Jtranspose_controller::CheckMoving&) { return value(); }
00323 };
00324
00325 template<class ContainerAllocator>
00326 struct MD5Sum<simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> > {
00327 static const char* value()
00328 {
00329 return "b2ff91b2b2ffb28a12be700a13c0ba16";
00330 }
00331
00332 static const char* value(const simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> &) { return value(); }
00333 };
00334
00335 template<class ContainerAllocator>
00336 struct DataType<simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> > {
00337 static const char* value()
00338 {
00339 return "simple_Jtranspose_controller/CheckMoving";
00340 }
00341
00342 static const char* value(const simple_Jtranspose_controller::CheckMovingRequest_<ContainerAllocator> &) { return value(); }
00343 };
00344
00345 template<class ContainerAllocator>
00346 struct MD5Sum<simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> > {
00347 static const char* value()
00348 {
00349 return "b2ff91b2b2ffb28a12be700a13c0ba16";
00350 }
00351
00352 static const char* value(const simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> &) { return value(); }
00353 };
00354
00355 template<class ContainerAllocator>
00356 struct DataType<simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> > {
00357 static const char* value()
00358 {
00359 return "simple_Jtranspose_controller/CheckMoving";
00360 }
00361
00362 static const char* value(const simple_Jtranspose_controller::CheckMovingResponse_<ContainerAllocator> &) { return value(); }
00363 };
00364
00365 }
00366 }
00367
00368 #endif // SIMPLE_JTRANSPOSE_CONTROLLER_SERVICE_CHECKMOVING_H
00369