ListDiscoveredServices.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-zeroconf_msgs/doc_stacks/2014-01-02_12-13-31.902589/zeroconf_msgs/srv/ListDiscoveredServices.srv */
00002 #ifndef ZEROCONF_MSGS_SERVICE_LISTDISCOVEREDSERVICES_H
00003 #define ZEROCONF_MSGS_SERVICE_LISTDISCOVEREDSERVICES_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 #include "zeroconf_msgs/DiscoveredService.h"
00022 
00023 namespace zeroconf_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct ListDiscoveredServicesRequest_ {
00027   typedef ListDiscoveredServicesRequest_<ContainerAllocator> Type;
00028 
00029   ListDiscoveredServicesRequest_()
00030   : service_type()
00031   {
00032   }
00033 
00034   ListDiscoveredServicesRequest_(const ContainerAllocator& _alloc)
00035   : service_type(_alloc)
00036   {
00037   }
00038 
00039   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _service_type_type;
00040   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  service_type;
00041 
00042 
00043   typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct ListDiscoveredServicesRequest
00047 typedef  ::zeroconf_msgs::ListDiscoveredServicesRequest_<std::allocator<void> > ListDiscoveredServicesRequest;
00048 
00049 typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesRequest> ListDiscoveredServicesRequestPtr;
00050 typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesRequest const> ListDiscoveredServicesRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct ListDiscoveredServicesResponse_ {
00055   typedef ListDiscoveredServicesResponse_<ContainerAllocator> Type;
00056 
00057   ListDiscoveredServicesResponse_()
00058   : services()
00059   {
00060   }
00061 
00062   ListDiscoveredServicesResponse_(const ContainerAllocator& _alloc)
00063   : services(_alloc)
00064   {
00065   }
00066 
00067   typedef std::vector< ::zeroconf_msgs::DiscoveredService_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::zeroconf_msgs::DiscoveredService_<ContainerAllocator> >::other >  _services_type;
00068   std::vector< ::zeroconf_msgs::DiscoveredService_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::zeroconf_msgs::DiscoveredService_<ContainerAllocator> >::other >  services;
00069 
00070 
00071   typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct ListDiscoveredServicesResponse
00075 typedef  ::zeroconf_msgs::ListDiscoveredServicesResponse_<std::allocator<void> > ListDiscoveredServicesResponse;
00076 
00077 typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesResponse> ListDiscoveredServicesResponsePtr;
00078 typedef boost::shared_ptr< ::zeroconf_msgs::ListDiscoveredServicesResponse const> ListDiscoveredServicesResponseConstPtr;
00079 
00080 struct ListDiscoveredServices
00081 {
00082 
00083 typedef ListDiscoveredServicesRequest Request;
00084 typedef ListDiscoveredServicesResponse Response;
00085 Request request;
00086 Response response;
00087 
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 }; // struct ListDiscoveredServices
00091 } // namespace zeroconf_msgs
00092 
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator>  const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "e1bf1fd6519c823d87c16f342a193a85";
00104   }
00105 
00106   static const char* value(const  ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> &) { return value(); } 
00107   static const uint64_t static_value1 = 0xe1bf1fd6519c823dULL;
00108   static const uint64_t static_value2 = 0x87c16f342a193a85ULL;
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct DataType< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "zeroconf_msgs/ListDiscoveredServicesRequest";
00116   }
00117 
00118   static const char* value(const  ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct Definition< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "string service_type\n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 
00137 namespace ros
00138 {
00139 namespace message_traits
00140 {
00141 template<class ContainerAllocator> struct IsMessage< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct IsMessage< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator>  const> : public TrueType {};
00143 template<class ContainerAllocator>
00144 struct MD5Sum< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> > {
00145   static const char* value() 
00146   {
00147     return "5e5ad0f4eb44cd96b6518cfd53715bb5";
00148   }
00149 
00150   static const char* value(const  ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> &) { return value(); } 
00151   static const uint64_t static_value1 = 0x5e5ad0f4eb44cd96ULL;
00152   static const uint64_t static_value2 = 0xb6518cfd53715bb5ULL;
00153 };
00154 
00155 template<class ContainerAllocator>
00156 struct DataType< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> > {
00157   static const char* value() 
00158   {
00159     return "zeroconf_msgs/ListDiscoveredServicesResponse";
00160   }
00161 
00162   static const char* value(const  ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> &) { return value(); } 
00163 };
00164 
00165 template<class ContainerAllocator>
00166 struct Definition< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> > {
00167   static const char* value() 
00168   {
00169     return "zeroconf_msgs/DiscoveredService[] services\n\
00170 \n\
00171 \n\
00172 ================================================================================\n\
00173 MSG: zeroconf_msgs/DiscoveredService\n\
00174 #\n\
00175 # Provides all the properties required for definition of a discovered \n\
00176 # zeroconf service. Note that it contains rather alot more information\n\
00177 # than that which is used to publish a zeroconf service.\n\
00178 \n\
00179 # Service Part\n\
00180 string name\n\
00181 string type\n\
00182 string domain\n\
00183 string description\n\
00184 \n\
00185 # Resolved part\n\
00186 string hostname\n\
00187 string[] ipv4_addresses\n\
00188 string[] ipv6_addresses\n\
00189 int32 port\n\
00190 \n\
00191 # These are detailed variables that you should not normally need\n\
00192 # and can be safely ignored in most circumstances (currently used\n\
00193 # by the avahi implementation).\n\
00194 \n\
00195 uint32 cookie\n\
00196 bool is_local\n\
00197 bool our_own\n\
00198 bool wide_area\n\
00199 bool multicast\n\
00200 bool cached\n\
00201 \n\
00202 \n\
00203 ";
00204   }
00205 
00206   static const char* value(const  ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> &) { return value(); } 
00207 };
00208 
00209 } // namespace message_traits
00210 } // namespace ros
00211 
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216 
00217 template<class ContainerAllocator> struct Serializer< ::zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> >
00218 {
00219   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220   {
00221     stream.next(m.service_type);
00222   }
00223 
00224   ROS_DECLARE_ALLINONE_SERIALIZER;
00225 }; // struct ListDiscoveredServicesRequest_
00226 } // namespace serialization
00227 } // namespace ros
00228 
00229 
00230 namespace ros
00231 {
00232 namespace serialization
00233 {
00234 
00235 template<class ContainerAllocator> struct Serializer< ::zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> >
00236 {
00237   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00238   {
00239     stream.next(m.services);
00240   }
00241 
00242   ROS_DECLARE_ALLINONE_SERIALIZER;
00243 }; // struct ListDiscoveredServicesResponse_
00244 } // namespace serialization
00245 } // namespace ros
00246 
00247 namespace ros
00248 {
00249 namespace service_traits
00250 {
00251 template<>
00252 struct MD5Sum<zeroconf_msgs::ListDiscoveredServices> {
00253   static const char* value() 
00254   {
00255     return "5e4f7a51e03f794adcd5dbfc4a5acfb6";
00256   }
00257 
00258   static const char* value(const zeroconf_msgs::ListDiscoveredServices&) { return value(); } 
00259 };
00260 
00261 template<>
00262 struct DataType<zeroconf_msgs::ListDiscoveredServices> {
00263   static const char* value() 
00264   {
00265     return "zeroconf_msgs/ListDiscoveredServices";
00266   }
00267 
00268   static const char* value(const zeroconf_msgs::ListDiscoveredServices&) { return value(); } 
00269 };
00270 
00271 template<class ContainerAllocator>
00272 struct MD5Sum<zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> > {
00273   static const char* value() 
00274   {
00275     return "5e4f7a51e03f794adcd5dbfc4a5acfb6";
00276   }
00277 
00278   static const char* value(const zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> &) { return value(); } 
00279 };
00280 
00281 template<class ContainerAllocator>
00282 struct DataType<zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> > {
00283   static const char* value() 
00284   {
00285     return "zeroconf_msgs/ListDiscoveredServices";
00286   }
00287 
00288   static const char* value(const zeroconf_msgs::ListDiscoveredServicesRequest_<ContainerAllocator> &) { return value(); } 
00289 };
00290 
00291 template<class ContainerAllocator>
00292 struct MD5Sum<zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> > {
00293   static const char* value() 
00294   {
00295     return "5e4f7a51e03f794adcd5dbfc4a5acfb6";
00296   }
00297 
00298   static const char* value(const zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> &) { return value(); } 
00299 };
00300 
00301 template<class ContainerAllocator>
00302 struct DataType<zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> > {
00303   static const char* value() 
00304   {
00305     return "zeroconf_msgs/ListDiscoveredServices";
00306   }
00307 
00308   static const char* value(const zeroconf_msgs::ListDiscoveredServicesResponse_<ContainerAllocator> &) { return value(); } 
00309 };
00310 
00311 } // namespace service_traits
00312 } // namespace ros
00313 
00314 #endif // ZEROCONF_MSGS_SERVICE_LISTDISCOVEREDSERVICES_H
00315 


zeroconf_msgs
Author(s): Daniel Stonier
autogenerated on Thu Jan 2 2014 12:14:34