$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pal-ros-pkg/doc_stacks/2013-03-01_16-20-37.495693/perception_blort/blort_ros/srv/TrackerCommand.srv */ 00002 #ifndef BLORT_ROS_SERVICE_TRACKERCOMMAND_H 00003 #define BLORT_ROS_SERVICE_TRACKERCOMMAND_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 blort_ros 00023 { 00024 template <class ContainerAllocator> 00025 struct TrackerCommandRequest_ { 00026 typedef TrackerCommandRequest_<ContainerAllocator> Type; 00027 00028 TrackerCommandRequest_() 00029 : code(0) 00030 , param(0) 00031 { 00032 } 00033 00034 TrackerCommandRequest_(const ContainerAllocator& _alloc) 00035 : code(0) 00036 , param(0) 00037 { 00038 } 00039 00040 typedef uint8_t _code_type; 00041 uint8_t code; 00042 00043 typedef uint8_t _param_type; 00044 uint8_t param; 00045 00046 00047 private: 00048 static const char* __s_getDataType_() { return "blort_ros/TrackerCommandRequest"; } 00049 public: 00050 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00051 00052 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00053 00054 private: 00055 static const char* __s_getMD5Sum_() { return "07f7598c0b15b556da58dbaee503e79b"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00058 00059 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00060 00061 private: 00062 static const char* __s_getServerMD5Sum_() { return "07f7598c0b15b556da58dbaee503e79b"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "\n\ 00070 \n\ 00071 \n\ 00072 \n\ 00073 \n\ 00074 \n\ 00075 \n\ 00076 \n\ 00077 \n\ 00078 \n\ 00079 \n\ 00080 \n\ 00081 \n\ 00082 \n\ 00083 uint8 code\n\ 00084 uint8 param\n\ 00085 \n\ 00086 "; } 00087 public: 00088 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00089 00090 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00091 00092 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00093 { 00094 ros::serialization::OStream stream(write_ptr, 1000000000); 00095 ros::serialization::serialize(stream, code); 00096 ros::serialization::serialize(stream, param); 00097 return stream.getData(); 00098 } 00099 00100 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00101 { 00102 ros::serialization::IStream stream(read_ptr, 1000000000); 00103 ros::serialization::deserialize(stream, code); 00104 ros::serialization::deserialize(stream, param); 00105 return stream.getData(); 00106 } 00107 00108 ROS_DEPRECATED virtual uint32_t serializationLength() const 00109 { 00110 uint32_t size = 0; 00111 size += ros::serialization::serializationLength(code); 00112 size += ros::serialization::serializationLength(param); 00113 return size; 00114 } 00115 00116 typedef boost::shared_ptr< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> > Ptr; 00117 typedef boost::shared_ptr< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> const> ConstPtr; 00118 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00119 }; // struct TrackerCommandRequest 00120 typedef ::blort_ros::TrackerCommandRequest_<std::allocator<void> > TrackerCommandRequest; 00121 00122 typedef boost::shared_ptr< ::blort_ros::TrackerCommandRequest> TrackerCommandRequestPtr; 00123 typedef boost::shared_ptr< ::blort_ros::TrackerCommandRequest const> TrackerCommandRequestConstPtr; 00124 00125 00126 template <class ContainerAllocator> 00127 struct TrackerCommandResponse_ { 00128 typedef TrackerCommandResponse_<ContainerAllocator> Type; 00129 00130 TrackerCommandResponse_() 00131 { 00132 } 00133 00134 TrackerCommandResponse_(const ContainerAllocator& _alloc) 00135 { 00136 } 00137 00138 00139 private: 00140 static const char* __s_getDataType_() { return "blort_ros/TrackerCommandResponse"; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00143 00144 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00145 00146 private: 00147 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00148 public: 00149 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00150 00151 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00152 00153 private: 00154 static const char* __s_getServerMD5Sum_() { return "07f7598c0b15b556da58dbaee503e79b"; } 00155 public: 00156 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00157 00158 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00159 00160 private: 00161 static const char* __s_getMessageDefinition_() { return "\n\ 00162 \n\ 00163 "; } 00164 public: 00165 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00166 00167 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00168 00169 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00170 { 00171 ros::serialization::OStream stream(write_ptr, 1000000000); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00176 { 00177 ros::serialization::IStream stream(read_ptr, 1000000000); 00178 return stream.getData(); 00179 } 00180 00181 ROS_DEPRECATED virtual uint32_t serializationLength() const 00182 { 00183 uint32_t size = 0; 00184 return size; 00185 } 00186 00187 typedef boost::shared_ptr< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> > Ptr; 00188 typedef boost::shared_ptr< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> const> ConstPtr; 00189 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00190 }; // struct TrackerCommandResponse 00191 typedef ::blort_ros::TrackerCommandResponse_<std::allocator<void> > TrackerCommandResponse; 00192 00193 typedef boost::shared_ptr< ::blort_ros::TrackerCommandResponse> TrackerCommandResponsePtr; 00194 typedef boost::shared_ptr< ::blort_ros::TrackerCommandResponse const> TrackerCommandResponseConstPtr; 00195 00196 struct TrackerCommand 00197 { 00198 00199 typedef TrackerCommandRequest Request; 00200 typedef TrackerCommandResponse Response; 00201 Request request; 00202 Response response; 00203 00204 typedef Request RequestType; 00205 typedef Response ResponseType; 00206 }; // struct TrackerCommand 00207 } // namespace blort_ros 00208 00209 namespace ros 00210 { 00211 namespace message_traits 00212 { 00213 template<class ContainerAllocator> struct IsMessage< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> > : public TrueType {}; 00214 template<class ContainerAllocator> struct IsMessage< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> const> : public TrueType {}; 00215 template<class ContainerAllocator> 00216 struct MD5Sum< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> > { 00217 static const char* value() 00218 { 00219 return "07f7598c0b15b556da58dbaee503e79b"; 00220 } 00221 00222 static const char* value(const ::blort_ros::TrackerCommandRequest_<ContainerAllocator> &) { return value(); } 00223 static const uint64_t static_value1 = 0x07f7598c0b15b556ULL; 00224 static const uint64_t static_value2 = 0xda58dbaee503e79bULL; 00225 }; 00226 00227 template<class ContainerAllocator> 00228 struct DataType< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> > { 00229 static const char* value() 00230 { 00231 return "blort_ros/TrackerCommandRequest"; 00232 } 00233 00234 static const char* value(const ::blort_ros::TrackerCommandRequest_<ContainerAllocator> &) { return value(); } 00235 }; 00236 00237 template<class ContainerAllocator> 00238 struct Definition< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> > { 00239 static const char* value() 00240 { 00241 return "\n\ 00242 \n\ 00243 \n\ 00244 \n\ 00245 \n\ 00246 \n\ 00247 \n\ 00248 \n\ 00249 \n\ 00250 \n\ 00251 \n\ 00252 \n\ 00253 \n\ 00254 \n\ 00255 uint8 code\n\ 00256 uint8 param\n\ 00257 \n\ 00258 "; 00259 } 00260 00261 static const char* value(const ::blort_ros::TrackerCommandRequest_<ContainerAllocator> &) { return value(); } 00262 }; 00263 00264 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> > : public TrueType {}; 00265 } // namespace message_traits 00266 } // namespace ros 00267 00268 00269 namespace ros 00270 { 00271 namespace message_traits 00272 { 00273 template<class ContainerAllocator> struct IsMessage< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> > : public TrueType {}; 00274 template<class ContainerAllocator> struct IsMessage< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> const> : public TrueType {}; 00275 template<class ContainerAllocator> 00276 struct MD5Sum< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> > { 00277 static const char* value() 00278 { 00279 return "d41d8cd98f00b204e9800998ecf8427e"; 00280 } 00281 00282 static const char* value(const ::blort_ros::TrackerCommandResponse_<ContainerAllocator> &) { return value(); } 00283 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00284 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00285 }; 00286 00287 template<class ContainerAllocator> 00288 struct DataType< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> > { 00289 static const char* value() 00290 { 00291 return "blort_ros/TrackerCommandResponse"; 00292 } 00293 00294 static const char* value(const ::blort_ros::TrackerCommandResponse_<ContainerAllocator> &) { return value(); } 00295 }; 00296 00297 template<class ContainerAllocator> 00298 struct Definition< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> > { 00299 static const char* value() 00300 { 00301 return "\n\ 00302 \n\ 00303 "; 00304 } 00305 00306 static const char* value(const ::blort_ros::TrackerCommandResponse_<ContainerAllocator> &) { return value(); } 00307 }; 00308 00309 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> > : public TrueType {}; 00310 } // namespace message_traits 00311 } // namespace ros 00312 00313 namespace ros 00314 { 00315 namespace serialization 00316 { 00317 00318 template<class ContainerAllocator> struct Serializer< ::blort_ros::TrackerCommandRequest_<ContainerAllocator> > 00319 { 00320 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00321 { 00322 stream.next(m.code); 00323 stream.next(m.param); 00324 } 00325 00326 ROS_DECLARE_ALLINONE_SERIALIZER; 00327 }; // struct TrackerCommandRequest_ 00328 } // namespace serialization 00329 } // namespace ros 00330 00331 00332 namespace ros 00333 { 00334 namespace serialization 00335 { 00336 00337 template<class ContainerAllocator> struct Serializer< ::blort_ros::TrackerCommandResponse_<ContainerAllocator> > 00338 { 00339 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00340 { 00341 } 00342 00343 ROS_DECLARE_ALLINONE_SERIALIZER; 00344 }; // struct TrackerCommandResponse_ 00345 } // namespace serialization 00346 } // namespace ros 00347 00348 namespace ros 00349 { 00350 namespace service_traits 00351 { 00352 template<> 00353 struct MD5Sum<blort_ros::TrackerCommand> { 00354 static const char* value() 00355 { 00356 return "07f7598c0b15b556da58dbaee503e79b"; 00357 } 00358 00359 static const char* value(const blort_ros::TrackerCommand&) { return value(); } 00360 }; 00361 00362 template<> 00363 struct DataType<blort_ros::TrackerCommand> { 00364 static const char* value() 00365 { 00366 return "blort_ros/TrackerCommand"; 00367 } 00368 00369 static const char* value(const blort_ros::TrackerCommand&) { return value(); } 00370 }; 00371 00372 template<class ContainerAllocator> 00373 struct MD5Sum<blort_ros::TrackerCommandRequest_<ContainerAllocator> > { 00374 static const char* value() 00375 { 00376 return "07f7598c0b15b556da58dbaee503e79b"; 00377 } 00378 00379 static const char* value(const blort_ros::TrackerCommandRequest_<ContainerAllocator> &) { return value(); } 00380 }; 00381 00382 template<class ContainerAllocator> 00383 struct DataType<blort_ros::TrackerCommandRequest_<ContainerAllocator> > { 00384 static const char* value() 00385 { 00386 return "blort_ros/TrackerCommand"; 00387 } 00388 00389 static const char* value(const blort_ros::TrackerCommandRequest_<ContainerAllocator> &) { return value(); } 00390 }; 00391 00392 template<class ContainerAllocator> 00393 struct MD5Sum<blort_ros::TrackerCommandResponse_<ContainerAllocator> > { 00394 static const char* value() 00395 { 00396 return "07f7598c0b15b556da58dbaee503e79b"; 00397 } 00398 00399 static const char* value(const blort_ros::TrackerCommandResponse_<ContainerAllocator> &) { return value(); } 00400 }; 00401 00402 template<class ContainerAllocator> 00403 struct DataType<blort_ros::TrackerCommandResponse_<ContainerAllocator> > { 00404 static const char* value() 00405 { 00406 return "blort_ros/TrackerCommand"; 00407 } 00408 00409 static const char* value(const blort_ros::TrackerCommandResponse_<ContainerAllocator> &) { return value(); } 00410 }; 00411 00412 } // namespace service_traits 00413 } // namespace ros 00414 00415 #endif // BLORT_ROS_SERVICE_TRACKERCOMMAND_H 00416