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