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