00001
00002 #ifndef WVIZ_SCENE_MANAGER_SERVICE_ADDMARKER_H
00003 #define WVIZ_SCENE_MANAGER_SERVICE_ADDMARKER_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 wviz_scene_manager
00019 {
00020 template <class ContainerAllocator>
00021 struct AddMarkerRequest_ : public ros::Message
00022 {
00023 typedef AddMarkerRequest_<ContainerAllocator> Type;
00024
00025 AddMarkerRequest_()
00026 : topic()
00027 {
00028 }
00029
00030 AddMarkerRequest_(const ContainerAllocator& _alloc)
00031 : topic(_alloc)
00032 {
00033 }
00034
00035 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _topic_type;
00036 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > topic;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "wviz_scene_manager/AddMarkerRequest"; }
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 "d8f94bae31b356b24d0427f80426d0c3"; }
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 "d8f94bae31b356b24d0427f80426d0c3"; }
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 "string topic\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, topic);
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, topic);
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(topic);
00087 return size;
00088 }
00089
00090 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> > Ptr;
00091 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> const> ConstPtr;
00092 };
00093 typedef ::wviz_scene_manager::AddMarkerRequest_<std::allocator<void> > AddMarkerRequest;
00094
00095 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerRequest> AddMarkerRequestPtr;
00096 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerRequest const> AddMarkerRequestConstPtr;
00097
00098
00099 template <class ContainerAllocator>
00100 struct AddMarkerResponse_ : public ros::Message
00101 {
00102 typedef AddMarkerResponse_<ContainerAllocator> Type;
00103
00104 AddMarkerResponse_()
00105 {
00106 }
00107
00108 AddMarkerResponse_(const ContainerAllocator& _alloc)
00109 {
00110 }
00111
00112
00113 private:
00114 static const char* __s_getDataType_() { return "wviz_scene_manager/AddMarkerResponse"; }
00115 public:
00116 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00117
00118 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00119
00120 private:
00121 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00122 public:
00123 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00124
00125 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00126
00127 private:
00128 static const char* __s_getServerMD5Sum_() { return "d8f94bae31b356b24d0427f80426d0c3"; }
00129 public:
00130 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00131
00132 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00133
00134 private:
00135 static const char* __s_getMessageDefinition_() { return "\n\
00136 "; }
00137 public:
00138 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00139
00140 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00141
00142 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00143 {
00144 ros::serialization::OStream stream(write_ptr, 1000000000);
00145 return stream.getData();
00146 }
00147
00148 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00149 {
00150 ros::serialization::IStream stream(read_ptr, 1000000000);
00151 return stream.getData();
00152 }
00153
00154 ROS_DEPRECATED virtual uint32_t serializationLength() const
00155 {
00156 uint32_t size = 0;
00157 return size;
00158 }
00159
00160 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> > Ptr;
00161 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> const> ConstPtr;
00162 };
00163 typedef ::wviz_scene_manager::AddMarkerResponse_<std::allocator<void> > AddMarkerResponse;
00164
00165 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerResponse> AddMarkerResponsePtr;
00166 typedef boost::shared_ptr< ::wviz_scene_manager::AddMarkerResponse const> AddMarkerResponseConstPtr;
00167
00168 struct AddMarker
00169 {
00170
00171 typedef AddMarkerRequest Request;
00172 typedef AddMarkerResponse Response;
00173 Request request;
00174 Response response;
00175
00176 typedef Request RequestType;
00177 typedef Response ResponseType;
00178 };
00179 }
00180
00181 namespace ros
00182 {
00183 namespace message_traits
00184 {
00185 template<class ContainerAllocator>
00186 struct MD5Sum< ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> > {
00187 static const char* value()
00188 {
00189 return "d8f94bae31b356b24d0427f80426d0c3";
00190 }
00191
00192 static const char* value(const ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> &) { return value(); }
00193 static const uint64_t static_value1 = 0xd8f94bae31b356b2ULL;
00194 static const uint64_t static_value2 = 0x4d0427f80426d0c3ULL;
00195 };
00196
00197 template<class ContainerAllocator>
00198 struct DataType< ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> > {
00199 static const char* value()
00200 {
00201 return "wviz_scene_manager/AddMarkerRequest";
00202 }
00203
00204 static const char* value(const ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> &) { return value(); }
00205 };
00206
00207 template<class ContainerAllocator>
00208 struct Definition< ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> > {
00209 static const char* value()
00210 {
00211 return "string topic\n\
00212 \n\
00213 ";
00214 }
00215
00216 static const char* value(const ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> &) { return value(); }
00217 };
00218
00219 }
00220 }
00221
00222
00223 namespace ros
00224 {
00225 namespace message_traits
00226 {
00227 template<class ContainerAllocator>
00228 struct MD5Sum< ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> > {
00229 static const char* value()
00230 {
00231 return "d41d8cd98f00b204e9800998ecf8427e";
00232 }
00233
00234 static const char* value(const ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> &) { return value(); }
00235 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00236 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00237 };
00238
00239 template<class ContainerAllocator>
00240 struct DataType< ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> > {
00241 static const char* value()
00242 {
00243 return "wviz_scene_manager/AddMarkerResponse";
00244 }
00245
00246 static const char* value(const ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> &) { return value(); }
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct Definition< ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "\n\
00254 ";
00255 }
00256
00257 static const char* value(const ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> &) { return value(); }
00258 };
00259
00260 template<class ContainerAllocator> struct IsFixedSize< ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> > : public TrueType {};
00261 }
00262 }
00263
00264 namespace ros
00265 {
00266 namespace serialization
00267 {
00268
00269 template<class ContainerAllocator> struct Serializer< ::wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> >
00270 {
00271 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00272 {
00273 stream.next(m.topic);
00274 }
00275
00276 ROS_DECLARE_ALLINONE_SERIALIZER;
00277 };
00278 }
00279 }
00280
00281
00282 namespace ros
00283 {
00284 namespace serialization
00285 {
00286
00287 template<class ContainerAllocator> struct Serializer< ::wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> >
00288 {
00289 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00290 {
00291 }
00292
00293 ROS_DECLARE_ALLINONE_SERIALIZER;
00294 };
00295 }
00296 }
00297
00298 namespace ros
00299 {
00300 namespace service_traits
00301 {
00302 template<>
00303 struct MD5Sum<wviz_scene_manager::AddMarker> {
00304 static const char* value()
00305 {
00306 return "d8f94bae31b356b24d0427f80426d0c3";
00307 }
00308
00309 static const char* value(const wviz_scene_manager::AddMarker&) { return value(); }
00310 };
00311
00312 template<>
00313 struct DataType<wviz_scene_manager::AddMarker> {
00314 static const char* value()
00315 {
00316 return "wviz_scene_manager/AddMarker";
00317 }
00318
00319 static const char* value(const wviz_scene_manager::AddMarker&) { return value(); }
00320 };
00321
00322 template<class ContainerAllocator>
00323 struct MD5Sum<wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> > {
00324 static const char* value()
00325 {
00326 return "d8f94bae31b356b24d0427f80426d0c3";
00327 }
00328
00329 static const char* value(const wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> &) { return value(); }
00330 };
00331
00332 template<class ContainerAllocator>
00333 struct DataType<wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> > {
00334 static const char* value()
00335 {
00336 return "wviz_scene_manager/AddMarker";
00337 }
00338
00339 static const char* value(const wviz_scene_manager::AddMarkerRequest_<ContainerAllocator> &) { return value(); }
00340 };
00341
00342 template<class ContainerAllocator>
00343 struct MD5Sum<wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> > {
00344 static const char* value()
00345 {
00346 return "d8f94bae31b356b24d0427f80426d0c3";
00347 }
00348
00349 static const char* value(const wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> &) { return value(); }
00350 };
00351
00352 template<class ContainerAllocator>
00353 struct DataType<wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> > {
00354 static const char* value()
00355 {
00356 return "wviz_scene_manager/AddMarker";
00357 }
00358
00359 static const char* value(const wviz_scene_manager::AddMarkerResponse_<ContainerAllocator> &) { return value(); }
00360 };
00361
00362 }
00363 }
00364
00365 #endif // WVIZ_SCENE_MANAGER_SERVICE_ADDMARKER_H
00366