00001
00002 #ifndef ASEBAROS_SERVICE_GETEVENTNAME_H
00003 #define ASEBAROS_SERVICE_GETEVENTNAME_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace asebaros
00019 {
00020 template <class ContainerAllocator>
00021 struct GetEventNameRequest_ : public ros::Message
00022 {
00023 typedef GetEventNameRequest_<ContainerAllocator> Type;
00024
00025 GetEventNameRequest_()
00026 : id(0)
00027 {
00028 }
00029
00030 GetEventNameRequest_(const ContainerAllocator& _alloc)
00031 : id(0)
00032 {
00033 }
00034
00035 typedef uint16_t _id_type;
00036 uint16_t id;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "asebaros/GetEventNameRequest"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "77962e6c8dbdcc134ef99d44edc6bf05"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getServerMD5Sum_() { return "9127dcf85335ce6653a1cfec6b354327"; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00057
00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00059
00060 private:
00061 static const char* __s_getMessageDefinition_() { return "uint16 id\n\
00062 \n\
00063 "; }
00064 public:
00065 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00066
00067 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00068
00069 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00070 {
00071 ros::serialization::OStream stream(write_ptr, 1000000000);
00072 ros::serialization::serialize(stream, id);
00073 return stream.getData();
00074 }
00075
00076 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00077 {
00078 ros::serialization::IStream stream(read_ptr, 1000000000);
00079 ros::serialization::deserialize(stream, id);
00080 return stream.getData();
00081 }
00082
00083 ROS_DEPRECATED virtual uint32_t serializationLength() const
00084 {
00085 uint32_t size = 0;
00086 size += ros::serialization::serializationLength(id);
00087 return size;
00088 }
00089
00090 typedef boost::shared_ptr< ::asebaros::GetEventNameRequest_<ContainerAllocator> > Ptr;
00091 typedef boost::shared_ptr< ::asebaros::GetEventNameRequest_<ContainerAllocator> const> ConstPtr;
00092 };
00093 typedef ::asebaros::GetEventNameRequest_<std::allocator<void> > GetEventNameRequest;
00094
00095 typedef boost::shared_ptr< ::asebaros::GetEventNameRequest> GetEventNameRequestPtr;
00096 typedef boost::shared_ptr< ::asebaros::GetEventNameRequest const> GetEventNameRequestConstPtr;
00097
00098
00099 template <class ContainerAllocator>
00100 struct GetEventNameResponse_ : public ros::Message
00101 {
00102 typedef GetEventNameResponse_<ContainerAllocator> Type;
00103
00104 GetEventNameResponse_()
00105 : name()
00106 {
00107 }
00108
00109 GetEventNameResponse_(const ContainerAllocator& _alloc)
00110 : name(_alloc)
00111 {
00112 }
00113
00114 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00115 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00116
00117
00118 private:
00119 static const char* __s_getDataType_() { return "asebaros/GetEventNameResponse"; }
00120 public:
00121 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00122
00123 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00124
00125 private:
00126 static const char* __s_getMD5Sum_() { return "c1f3d28f1b044c871e6eff2e9fc3c667"; }
00127 public:
00128 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00129
00130 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00131
00132 private:
00133 static const char* __s_getServerMD5Sum_() { return "9127dcf85335ce6653a1cfec6b354327"; }
00134 public:
00135 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00136
00137 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00138
00139 private:
00140 static const char* __s_getMessageDefinition_() { return "string name\n\
00141 \n\
00142 \n\
00143 "; }
00144 public:
00145 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00146
00147 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00148
00149 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00150 {
00151 ros::serialization::OStream stream(write_ptr, 1000000000);
00152 ros::serialization::serialize(stream, name);
00153 return stream.getData();
00154 }
00155
00156 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00157 {
00158 ros::serialization::IStream stream(read_ptr, 1000000000);
00159 ros::serialization::deserialize(stream, name);
00160 return stream.getData();
00161 }
00162
00163 ROS_DEPRECATED virtual uint32_t serializationLength() const
00164 {
00165 uint32_t size = 0;
00166 size += ros::serialization::serializationLength(name);
00167 return size;
00168 }
00169
00170 typedef boost::shared_ptr< ::asebaros::GetEventNameResponse_<ContainerAllocator> > Ptr;
00171 typedef boost::shared_ptr< ::asebaros::GetEventNameResponse_<ContainerAllocator> const> ConstPtr;
00172 };
00173 typedef ::asebaros::GetEventNameResponse_<std::allocator<void> > GetEventNameResponse;
00174
00175 typedef boost::shared_ptr< ::asebaros::GetEventNameResponse> GetEventNameResponsePtr;
00176 typedef boost::shared_ptr< ::asebaros::GetEventNameResponse const> GetEventNameResponseConstPtr;
00177
00178 struct GetEventName
00179 {
00180
00181 typedef GetEventNameRequest Request;
00182 typedef GetEventNameResponse Response;
00183 Request request;
00184 Response response;
00185
00186 typedef Request RequestType;
00187 typedef Response ResponseType;
00188 };
00189 }
00190
00191 namespace ros
00192 {
00193 namespace message_traits
00194 {
00195 template<class ContainerAllocator>
00196 struct MD5Sum< ::asebaros::GetEventNameRequest_<ContainerAllocator> > {
00197 static const char* value()
00198 {
00199 return "77962e6c8dbdcc134ef99d44edc6bf05";
00200 }
00201
00202 static const char* value(const ::asebaros::GetEventNameRequest_<ContainerAllocator> &) { return value(); }
00203 static const uint64_t static_value1 = 0x77962e6c8dbdcc13ULL;
00204 static const uint64_t static_value2 = 0x4ef99d44edc6bf05ULL;
00205 };
00206
00207 template<class ContainerAllocator>
00208 struct DataType< ::asebaros::GetEventNameRequest_<ContainerAllocator> > {
00209 static const char* value()
00210 {
00211 return "asebaros/GetEventNameRequest";
00212 }
00213
00214 static const char* value(const ::asebaros::GetEventNameRequest_<ContainerAllocator> &) { return value(); }
00215 };
00216
00217 template<class ContainerAllocator>
00218 struct Definition< ::asebaros::GetEventNameRequest_<ContainerAllocator> > {
00219 static const char* value()
00220 {
00221 return "uint16 id\n\
00222 \n\
00223 ";
00224 }
00225
00226 static const char* value(const ::asebaros::GetEventNameRequest_<ContainerAllocator> &) { return value(); }
00227 };
00228
00229 template<class ContainerAllocator> struct IsFixedSize< ::asebaros::GetEventNameRequest_<ContainerAllocator> > : public TrueType {};
00230 }
00231 }
00232
00233
00234 namespace ros
00235 {
00236 namespace message_traits
00237 {
00238 template<class ContainerAllocator>
00239 struct MD5Sum< ::asebaros::GetEventNameResponse_<ContainerAllocator> > {
00240 static const char* value()
00241 {
00242 return "c1f3d28f1b044c871e6eff2e9fc3c667";
00243 }
00244
00245 static const char* value(const ::asebaros::GetEventNameResponse_<ContainerAllocator> &) { return value(); }
00246 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL;
00247 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL;
00248 };
00249
00250 template<class ContainerAllocator>
00251 struct DataType< ::asebaros::GetEventNameResponse_<ContainerAllocator> > {
00252 static const char* value()
00253 {
00254 return "asebaros/GetEventNameResponse";
00255 }
00256
00257 static const char* value(const ::asebaros::GetEventNameResponse_<ContainerAllocator> &) { return value(); }
00258 };
00259
00260 template<class ContainerAllocator>
00261 struct Definition< ::asebaros::GetEventNameResponse_<ContainerAllocator> > {
00262 static const char* value()
00263 {
00264 return "string name\n\
00265 \n\
00266 \n\
00267 ";
00268 }
00269
00270 static const char* value(const ::asebaros::GetEventNameResponse_<ContainerAllocator> &) { return value(); }
00271 };
00272
00273 }
00274 }
00275
00276 namespace ros
00277 {
00278 namespace serialization
00279 {
00280
00281 template<class ContainerAllocator> struct Serializer< ::asebaros::GetEventNameRequest_<ContainerAllocator> >
00282 {
00283 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00284 {
00285 stream.next(m.id);
00286 }
00287
00288 ROS_DECLARE_ALLINONE_SERIALIZER;
00289 };
00290 }
00291 }
00292
00293
00294 namespace ros
00295 {
00296 namespace serialization
00297 {
00298
00299 template<class ContainerAllocator> struct Serializer< ::asebaros::GetEventNameResponse_<ContainerAllocator> >
00300 {
00301 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00302 {
00303 stream.next(m.name);
00304 }
00305
00306 ROS_DECLARE_ALLINONE_SERIALIZER;
00307 };
00308 }
00309 }
00310
00311 namespace ros
00312 {
00313 namespace service_traits
00314 {
00315 template<>
00316 struct MD5Sum<asebaros::GetEventName> {
00317 static const char* value()
00318 {
00319 return "9127dcf85335ce6653a1cfec6b354327";
00320 }
00321
00322 static const char* value(const asebaros::GetEventName&) { return value(); }
00323 };
00324
00325 template<>
00326 struct DataType<asebaros::GetEventName> {
00327 static const char* value()
00328 {
00329 return "asebaros/GetEventName";
00330 }
00331
00332 static const char* value(const asebaros::GetEventName&) { return value(); }
00333 };
00334
00335 template<class ContainerAllocator>
00336 struct MD5Sum<asebaros::GetEventNameRequest_<ContainerAllocator> > {
00337 static const char* value()
00338 {
00339 return "9127dcf85335ce6653a1cfec6b354327";
00340 }
00341
00342 static const char* value(const asebaros::GetEventNameRequest_<ContainerAllocator> &) { return value(); }
00343 };
00344
00345 template<class ContainerAllocator>
00346 struct DataType<asebaros::GetEventNameRequest_<ContainerAllocator> > {
00347 static const char* value()
00348 {
00349 return "asebaros/GetEventName";
00350 }
00351
00352 static const char* value(const asebaros::GetEventNameRequest_<ContainerAllocator> &) { return value(); }
00353 };
00354
00355 template<class ContainerAllocator>
00356 struct MD5Sum<asebaros::GetEventNameResponse_<ContainerAllocator> > {
00357 static const char* value()
00358 {
00359 return "9127dcf85335ce6653a1cfec6b354327";
00360 }
00361
00362 static const char* value(const asebaros::GetEventNameResponse_<ContainerAllocator> &) { return value(); }
00363 };
00364
00365 template<class ContainerAllocator>
00366 struct DataType<asebaros::GetEventNameResponse_<ContainerAllocator> > {
00367 static const char* value()
00368 {
00369 return "asebaros/GetEventName";
00370 }
00371
00372 static const char* value(const asebaros::GetEventNameResponse_<ContainerAllocator> &) { return value(); }
00373 };
00374
00375 }
00376 }
00377
00378 #endif // ASEBAROS_SERVICE_GETEVENTNAME_H
00379