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