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