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