$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_interaction_primitives/srv/GetUpdateTopic.srv */ 00002 #ifndef SRS_INTERACTION_PRIMITIVES_SERVICE_GETUPDATETOPIC_H 00003 #define SRS_INTERACTION_PRIMITIVES_SERVICE_GETUPDATETOPIC_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 srs_interaction_primitives 00023 { 00024 template <class ContainerAllocator> 00025 struct GetUpdateTopicRequest_ { 00026 typedef GetUpdateTopicRequest_<ContainerAllocator> Type; 00027 00028 GetUpdateTopicRequest_() 00029 : name() 00030 , type(0) 00031 { 00032 } 00033 00034 GetUpdateTopicRequest_(const ContainerAllocator& _alloc) 00035 : name(_alloc) 00036 , type(0) 00037 { 00038 } 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name; 00042 00043 typedef uint8_t _type_type; 00044 uint8_t type; 00045 00046 00047 private: 00048 static const char* __s_getDataType_() { return "srs_interaction_primitives/GetUpdateTopicRequest"; } 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 "1cab078f54a400c4f23393e68fd8cce4"; } 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 "e4ff960cb58e20e87c3c75582ff91cac"; } 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 name\n\ 00070 uint8 type\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, name); 00082 ros::serialization::serialize(stream, type); 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, name); 00090 ros::serialization::deserialize(stream, type); 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(name); 00098 size += ros::serialization::serializationLength(type); 00099 return size; 00100 } 00101 00102 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > Ptr; 00103 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> const> ConstPtr; 00104 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00105 }; // struct GetUpdateTopicRequest 00106 typedef ::srs_interaction_primitives::GetUpdateTopicRequest_<std::allocator<void> > GetUpdateTopicRequest; 00107 00108 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicRequest> GetUpdateTopicRequestPtr; 00109 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicRequest const> GetUpdateTopicRequestConstPtr; 00110 00111 00112 template <class ContainerAllocator> 00113 struct GetUpdateTopicResponse_ { 00114 typedef GetUpdateTopicResponse_<ContainerAllocator> Type; 00115 00116 GetUpdateTopicResponse_() 00117 : update_topic() 00118 { 00119 } 00120 00121 GetUpdateTopicResponse_(const ContainerAllocator& _alloc) 00122 : update_topic(_alloc) 00123 { 00124 } 00125 00126 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _update_topic_type; 00127 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > update_topic; 00128 00129 00130 private: 00131 static const char* __s_getDataType_() { return "srs_interaction_primitives/GetUpdateTopicResponse"; } 00132 public: 00133 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00134 00135 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00136 00137 private: 00138 static const char* __s_getMD5Sum_() { return "2d01d8776665246317e71a1114c38539"; } 00139 public: 00140 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00141 00142 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00143 00144 private: 00145 static const char* __s_getServerMD5Sum_() { return "e4ff960cb58e20e87c3c75582ff91cac"; } 00146 public: 00147 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00148 00149 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00150 00151 private: 00152 static const char* __s_getMessageDefinition_() { return "string update_topic\n\ 00153 \n\ 00154 \n\ 00155 "; } 00156 public: 00157 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00158 00159 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00160 00161 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00162 { 00163 ros::serialization::OStream stream(write_ptr, 1000000000); 00164 ros::serialization::serialize(stream, update_topic); 00165 return stream.getData(); 00166 } 00167 00168 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00169 { 00170 ros::serialization::IStream stream(read_ptr, 1000000000); 00171 ros::serialization::deserialize(stream, update_topic); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint32_t serializationLength() const 00176 { 00177 uint32_t size = 0; 00178 size += ros::serialization::serializationLength(update_topic); 00179 return size; 00180 } 00181 00182 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > Ptr; 00183 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> const> ConstPtr; 00184 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00185 }; // struct GetUpdateTopicResponse 00186 typedef ::srs_interaction_primitives::GetUpdateTopicResponse_<std::allocator<void> > GetUpdateTopicResponse; 00187 00188 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicResponse> GetUpdateTopicResponsePtr; 00189 typedef boost::shared_ptr< ::srs_interaction_primitives::GetUpdateTopicResponse const> GetUpdateTopicResponseConstPtr; 00190 00191 struct GetUpdateTopic 00192 { 00193 00194 typedef GetUpdateTopicRequest Request; 00195 typedef GetUpdateTopicResponse Response; 00196 Request request; 00197 Response response; 00198 00199 typedef Request RequestType; 00200 typedef Response ResponseType; 00201 }; // struct GetUpdateTopic 00202 } // namespace srs_interaction_primitives 00203 00204 namespace ros 00205 { 00206 namespace message_traits 00207 { 00208 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > : public TrueType {}; 00209 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> const> : public TrueType {}; 00210 template<class ContainerAllocator> 00211 struct MD5Sum< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > { 00212 static const char* value() 00213 { 00214 return "1cab078f54a400c4f23393e68fd8cce4"; 00215 } 00216 00217 static const char* value(const ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> &) { return value(); } 00218 static const uint64_t static_value1 = 0x1cab078f54a400c4ULL; 00219 static const uint64_t static_value2 = 0xf23393e68fd8cce4ULL; 00220 }; 00221 00222 template<class ContainerAllocator> 00223 struct DataType< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > { 00224 static const char* value() 00225 { 00226 return "srs_interaction_primitives/GetUpdateTopicRequest"; 00227 } 00228 00229 static const char* value(const ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> &) { return value(); } 00230 }; 00231 00232 template<class ContainerAllocator> 00233 struct Definition< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > { 00234 static const char* value() 00235 { 00236 return "string name\n\ 00237 uint8 type\n\ 00238 \n\ 00239 "; 00240 } 00241 00242 static const char* value(const ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> &) { return value(); } 00243 }; 00244 00245 } // namespace message_traits 00246 } // namespace ros 00247 00248 00249 namespace ros 00250 { 00251 namespace message_traits 00252 { 00253 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > : public TrueType {}; 00254 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> const> : public TrueType {}; 00255 template<class ContainerAllocator> 00256 struct MD5Sum< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > { 00257 static const char* value() 00258 { 00259 return "2d01d8776665246317e71a1114c38539"; 00260 } 00261 00262 static const char* value(const ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> &) { return value(); } 00263 static const uint64_t static_value1 = 0x2d01d87766652463ULL; 00264 static const uint64_t static_value2 = 0x17e71a1114c38539ULL; 00265 }; 00266 00267 template<class ContainerAllocator> 00268 struct DataType< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > { 00269 static const char* value() 00270 { 00271 return "srs_interaction_primitives/GetUpdateTopicResponse"; 00272 } 00273 00274 static const char* value(const ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> &) { return value(); } 00275 }; 00276 00277 template<class ContainerAllocator> 00278 struct Definition< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > { 00279 static const char* value() 00280 { 00281 return "string update_topic\n\ 00282 \n\ 00283 \n\ 00284 "; 00285 } 00286 00287 static const char* value(const ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> &) { return value(); } 00288 }; 00289 00290 } // namespace message_traits 00291 } // namespace ros 00292 00293 namespace ros 00294 { 00295 namespace serialization 00296 { 00297 00298 template<class ContainerAllocator> struct Serializer< ::srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > 00299 { 00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00301 { 00302 stream.next(m.name); 00303 stream.next(m.type); 00304 } 00305 00306 ROS_DECLARE_ALLINONE_SERIALIZER; 00307 }; // struct GetUpdateTopicRequest_ 00308 } // namespace serialization 00309 } // namespace ros 00310 00311 00312 namespace ros 00313 { 00314 namespace serialization 00315 { 00316 00317 template<class ContainerAllocator> struct Serializer< ::srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > 00318 { 00319 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00320 { 00321 stream.next(m.update_topic); 00322 } 00323 00324 ROS_DECLARE_ALLINONE_SERIALIZER; 00325 }; // struct GetUpdateTopicResponse_ 00326 } // namespace serialization 00327 } // namespace ros 00328 00329 namespace ros 00330 { 00331 namespace service_traits 00332 { 00333 template<> 00334 struct MD5Sum<srs_interaction_primitives::GetUpdateTopic> { 00335 static const char* value() 00336 { 00337 return "e4ff960cb58e20e87c3c75582ff91cac"; 00338 } 00339 00340 static const char* value(const srs_interaction_primitives::GetUpdateTopic&) { return value(); } 00341 }; 00342 00343 template<> 00344 struct DataType<srs_interaction_primitives::GetUpdateTopic> { 00345 static const char* value() 00346 { 00347 return "srs_interaction_primitives/GetUpdateTopic"; 00348 } 00349 00350 static const char* value(const srs_interaction_primitives::GetUpdateTopic&) { return value(); } 00351 }; 00352 00353 template<class ContainerAllocator> 00354 struct MD5Sum<srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > { 00355 static const char* value() 00356 { 00357 return "e4ff960cb58e20e87c3c75582ff91cac"; 00358 } 00359 00360 static const char* value(const srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> &) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct DataType<srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "srs_interaction_primitives/GetUpdateTopic"; 00368 } 00369 00370 static const char* value(const srs_interaction_primitives::GetUpdateTopicRequest_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 template<class ContainerAllocator> 00374 struct MD5Sum<srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > { 00375 static const char* value() 00376 { 00377 return "e4ff960cb58e20e87c3c75582ff91cac"; 00378 } 00379 00380 static const char* value(const srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> &) { return value(); } 00381 }; 00382 00383 template<class ContainerAllocator> 00384 struct DataType<srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> > { 00385 static const char* value() 00386 { 00387 return "srs_interaction_primitives/GetUpdateTopic"; 00388 } 00389 00390 static const char* value(const srs_interaction_primitives::GetUpdateTopicResponse_<ContainerAllocator> &) { return value(); } 00391 }; 00392 00393 } // namespace service_traits 00394 } // namespace ros 00395 00396 #endif // SRS_INTERACTION_PRIMITIVES_SERVICE_GETUPDATETOPIC_H 00397