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