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 template <class ContainerAllocator>
00058 struct BoardConfigResponse_ {
00059 typedef BoardConfigResponse_<ContainerAllocator> Type;
00060
00061 BoardConfigResponse_()
00062 : success(0)
00063 {
00064 }
00065
00066 BoardConfigResponse_(const ContainerAllocator& _alloc)
00067 : success(0)
00068 {
00069 }
00070
00071 typedef uint8_t _success_type;
00072 uint8_t success;
00073
00074
00075 typedef boost::shared_ptr< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> > Ptr;
00076 typedef boost::shared_ptr< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> const> ConstPtr;
00077 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078 };
00079 typedef ::wge100_camera::BoardConfigResponse_<std::allocator<void> > BoardConfigResponse;
00080
00081 typedef boost::shared_ptr< ::wge100_camera::BoardConfigResponse> BoardConfigResponsePtr;
00082 typedef boost::shared_ptr< ::wge100_camera::BoardConfigResponse const> BoardConfigResponseConstPtr;
00083
00084 struct BoardConfig
00085 {
00086
00087 typedef BoardConfigRequest Request;
00088 typedef BoardConfigResponse 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< ::wge100_camera::BoardConfigRequest_<ContainerAllocator> > : public TrueType {};
00102 template<class ContainerAllocator> struct IsMessage< ::wge100_camera::BoardConfigRequest_<ContainerAllocator> const> : public TrueType {};
00103 template<class ContainerAllocator>
00104 struct MD5Sum< ::wge100_camera::BoardConfigRequest_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "ec9bad54b410ebc79183d761c609dd76";
00108 }
00109
00110 static const char* value(const ::wge100_camera::BoardConfigRequest_<ContainerAllocator> &) { return value(); }
00111 static const uint64_t static_value1 = 0xec9bad54b410ebc7ULL;
00112 static const uint64_t static_value2 = 0x9183d761c609dd76ULL;
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct DataType< ::wge100_camera::BoardConfigRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "wge100_camera/BoardConfigRequest";
00120 }
00121
00122 static const char* value(const ::wge100_camera::BoardConfigRequest_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct Definition< ::wge100_camera::BoardConfigRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "\n\
00130 \n\
00131 uint32 serial\n\
00132 uint8[] mac\n\
00133 \n\
00134 ";
00135 }
00136
00137 static const char* value(const ::wge100_camera::BoardConfigRequest_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 }
00141 }
00142
00143
00144 namespace ros
00145 {
00146 namespace message_traits
00147 {
00148 template<class ContainerAllocator> struct IsMessage< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct IsMessage< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> const> : public TrueType {};
00150 template<class ContainerAllocator>
00151 struct MD5Sum< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "6cca7c80398b8b31af04b80534923f16";
00155 }
00156
00157 static const char* value(const ::wge100_camera::BoardConfigResponse_<ContainerAllocator> &) { return value(); }
00158 static const uint64_t static_value1 = 0x6cca7c80398b8b31ULL;
00159 static const uint64_t static_value2 = 0xaf04b80534923f16ULL;
00160 };
00161
00162 template<class ContainerAllocator>
00163 struct DataType< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> > {
00164 static const char* value()
00165 {
00166 return "wge100_camera/BoardConfigResponse";
00167 }
00168
00169 static const char* value(const ::wge100_camera::BoardConfigResponse_<ContainerAllocator> &) { return value(); }
00170 };
00171
00172 template<class ContainerAllocator>
00173 struct Definition< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> > {
00174 static const char* value()
00175 {
00176 return "uint8 success\n\
00177 \n\
00178 \n\
00179 ";
00180 }
00181
00182 static const char* value(const ::wge100_camera::BoardConfigResponse_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 template<class ContainerAllocator> struct IsFixedSize< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> > : public TrueType {};
00186 }
00187 }
00188
00189 namespace ros
00190 {
00191 namespace serialization
00192 {
00193
00194 template<class ContainerAllocator> struct Serializer< ::wge100_camera::BoardConfigRequest_<ContainerAllocator> >
00195 {
00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197 {
00198 stream.next(m.serial);
00199 stream.next(m.mac);
00200 }
00201
00202 ROS_DECLARE_ALLINONE_SERIALIZER;
00203 };
00204 }
00205 }
00206
00207
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212
00213 template<class ContainerAllocator> struct Serializer< ::wge100_camera::BoardConfigResponse_<ContainerAllocator> >
00214 {
00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216 {
00217 stream.next(m.success);
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<wge100_camera::BoardConfig> {
00231 static const char* value()
00232 {
00233 return "785c6974990d2659ed40a68807b3f3bd";
00234 }
00235
00236 static const char* value(const wge100_camera::BoardConfig&) { return value(); }
00237 };
00238
00239 template<>
00240 struct DataType<wge100_camera::BoardConfig> {
00241 static const char* value()
00242 {
00243 return "wge100_camera/BoardConfig";
00244 }
00245
00246 static const char* value(const wge100_camera::BoardConfig&) { return value(); }
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct MD5Sum<wge100_camera::BoardConfigRequest_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "785c6974990d2659ed40a68807b3f3bd";
00254 }
00255
00256 static const char* value(const wge100_camera::BoardConfigRequest_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator>
00260 struct DataType<wge100_camera::BoardConfigRequest_<ContainerAllocator> > {
00261 static const char* value()
00262 {
00263 return "wge100_camera/BoardConfig";
00264 }
00265
00266 static const char* value(const wge100_camera::BoardConfigRequest_<ContainerAllocator> &) { return value(); }
00267 };
00268
00269 template<class ContainerAllocator>
00270 struct MD5Sum<wge100_camera::BoardConfigResponse_<ContainerAllocator> > {
00271 static const char* value()
00272 {
00273 return "785c6974990d2659ed40a68807b3f3bd";
00274 }
00275
00276 static const char* value(const wge100_camera::BoardConfigResponse_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 template<class ContainerAllocator>
00280 struct DataType<wge100_camera::BoardConfigResponse_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "wge100_camera/BoardConfig";
00284 }
00285
00286 static const char* value(const wge100_camera::BoardConfigResponse_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 }
00290 }
00291
00292 #endif // WGE100_CAMERA_SERVICE_BOARDCONFIG_H
00293