AddService.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-zeroconf_comms/doc_stacks/2012-11-13_23-46-23.193189/zeroconf_comms/srv/AddService.srv */
00002 #ifndef ZEROCONF_COMMS_SERVICE_ADDSERVICE_H
00003 #define ZEROCONF_COMMS_SERVICE_ADDSERVICE_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 #include "zeroconf_comms/PublishedService.h"
00020 
00021 
00022 
00023 namespace zeroconf_comms
00024 {
00025 template <class ContainerAllocator>
00026 struct AddServiceRequest_ {
00027   typedef AddServiceRequest_<ContainerAllocator> Type;
00028 
00029   AddServiceRequest_()
00030   : service()
00031   {
00032   }
00033 
00034   AddServiceRequest_(const ContainerAllocator& _alloc)
00035   : service(_alloc)
00036   {
00037   }
00038 
00039   typedef  ::zeroconf_comms::PublishedService_<ContainerAllocator>  _service_type;
00040    ::zeroconf_comms::PublishedService_<ContainerAllocator>  service;
00041 
00042 
00043   typedef boost::shared_ptr< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct AddServiceRequest
00047 typedef  ::zeroconf_comms::AddServiceRequest_<std::allocator<void> > AddServiceRequest;
00048 
00049 typedef boost::shared_ptr< ::zeroconf_comms::AddServiceRequest> AddServiceRequestPtr;
00050 typedef boost::shared_ptr< ::zeroconf_comms::AddServiceRequest const> AddServiceRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct AddServiceResponse_ {
00055   typedef AddServiceResponse_<ContainerAllocator> Type;
00056 
00057   AddServiceResponse_()
00058   : result(false)
00059   {
00060   }
00061 
00062   AddServiceResponse_(const ContainerAllocator& _alloc)
00063   : result(false)
00064   {
00065   }
00066 
00067   typedef uint8_t _result_type;
00068   uint8_t result;
00069 
00070 
00071   typedef boost::shared_ptr< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct AddServiceResponse
00075 typedef  ::zeroconf_comms::AddServiceResponse_<std::allocator<void> > AddServiceResponse;
00076 
00077 typedef boost::shared_ptr< ::zeroconf_comms::AddServiceResponse> AddServiceResponsePtr;
00078 typedef boost::shared_ptr< ::zeroconf_comms::AddServiceResponse const> AddServiceResponseConstPtr;
00079 
00080 struct AddService
00081 {
00082 
00083 typedef AddServiceRequest Request;
00084 typedef AddServiceResponse Response;
00085 Request request;
00086 Response response;
00087 
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 }; // struct AddService
00091 } // namespace zeroconf_comms
00092 
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator>  const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "7028a4a43349f6cca86209ddd39f607a";
00104   }
00105 
00106   static const char* value(const  ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> &) { return value(); } 
00107   static const uint64_t static_value1 = 0x7028a4a43349f6ccULL;
00108   static const uint64_t static_value2 = 0xa86209ddd39f607aULL;
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct DataType< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "zeroconf_comms/AddServiceRequest";
00116   }
00117 
00118   static const char* value(const  ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct Definition< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "zeroconf_comms/PublishedService service\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: zeroconf_comms/PublishedService\n\
00129 #\n\
00130 # Provides all the properties required for publishing of a zeroconf service.\n\
00131 \n\
00132 string name\n\
00133 string type\n\
00134 string domain\n\
00135 int32 port\n\
00136 string description\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 
00148 namespace ros
00149 {
00150 namespace message_traits
00151 {
00152 template<class ContainerAllocator> struct IsMessage< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> > : public TrueType {};
00153 template<class ContainerAllocator> struct IsMessage< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator>  const> : public TrueType {};
00154 template<class ContainerAllocator>
00155 struct MD5Sum< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> > {
00156   static const char* value() 
00157   {
00158     return "eb13ac1f1354ccecb7941ee8fa2192e8";
00159   }
00160 
00161   static const char* value(const  ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> &) { return value(); } 
00162   static const uint64_t static_value1 = 0xeb13ac1f1354ccecULL;
00163   static const uint64_t static_value2 = 0xb7941ee8fa2192e8ULL;
00164 };
00165 
00166 template<class ContainerAllocator>
00167 struct DataType< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> > {
00168   static const char* value() 
00169   {
00170     return "zeroconf_comms/AddServiceResponse";
00171   }
00172 
00173   static const char* value(const  ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> &) { return value(); } 
00174 };
00175 
00176 template<class ContainerAllocator>
00177 struct Definition< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> > {
00178   static const char* value() 
00179   {
00180     return "bool result\n\
00181 \n\
00182 ";
00183   }
00184 
00185   static const char* value(const  ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> &) { return value(); } 
00186 };
00187 
00188 template<class ContainerAllocator> struct IsFixedSize< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> > : public TrueType {};
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 namespace ros
00193 {
00194 namespace serialization
00195 {
00196 
00197 template<class ContainerAllocator> struct Serializer< ::zeroconf_comms::AddServiceRequest_<ContainerAllocator> >
00198 {
00199   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00200   {
00201     stream.next(m.service);
00202   }
00203 
00204   ROS_DECLARE_ALLINONE_SERIALIZER;
00205 }; // struct AddServiceRequest_
00206 } // namespace serialization
00207 } // namespace ros
00208 
00209 
00210 namespace ros
00211 {
00212 namespace serialization
00213 {
00214 
00215 template<class ContainerAllocator> struct Serializer< ::zeroconf_comms::AddServiceResponse_<ContainerAllocator> >
00216 {
00217   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00218   {
00219     stream.next(m.result);
00220   }
00221 
00222   ROS_DECLARE_ALLINONE_SERIALIZER;
00223 }; // struct AddServiceResponse_
00224 } // namespace serialization
00225 } // namespace ros
00226 
00227 namespace ros
00228 {
00229 namespace service_traits
00230 {
00231 template<>
00232 struct MD5Sum<zeroconf_comms::AddService> {
00233   static const char* value() 
00234   {
00235     return "2ae0e420b2f58ab49b813cd81e42d4b3";
00236   }
00237 
00238   static const char* value(const zeroconf_comms::AddService&) { return value(); } 
00239 };
00240 
00241 template<>
00242 struct DataType<zeroconf_comms::AddService> {
00243   static const char* value() 
00244   {
00245     return "zeroconf_comms/AddService";
00246   }
00247 
00248   static const char* value(const zeroconf_comms::AddService&) { return value(); } 
00249 };
00250 
00251 template<class ContainerAllocator>
00252 struct MD5Sum<zeroconf_comms::AddServiceRequest_<ContainerAllocator> > {
00253   static const char* value() 
00254   {
00255     return "2ae0e420b2f58ab49b813cd81e42d4b3";
00256   }
00257 
00258   static const char* value(const zeroconf_comms::AddServiceRequest_<ContainerAllocator> &) { return value(); } 
00259 };
00260 
00261 template<class ContainerAllocator>
00262 struct DataType<zeroconf_comms::AddServiceRequest_<ContainerAllocator> > {
00263   static const char* value() 
00264   {
00265     return "zeroconf_comms/AddService";
00266   }
00267 
00268   static const char* value(const zeroconf_comms::AddServiceRequest_<ContainerAllocator> &) { return value(); } 
00269 };
00270 
00271 template<class ContainerAllocator>
00272 struct MD5Sum<zeroconf_comms::AddServiceResponse_<ContainerAllocator> > {
00273   static const char* value() 
00274   {
00275     return "2ae0e420b2f58ab49b813cd81e42d4b3";
00276   }
00277 
00278   static const char* value(const zeroconf_comms::AddServiceResponse_<ContainerAllocator> &) { return value(); } 
00279 };
00280 
00281 template<class ContainerAllocator>
00282 struct DataType<zeroconf_comms::AddServiceResponse_<ContainerAllocator> > {
00283   static const char* value() 
00284   {
00285     return "zeroconf_comms/AddService";
00286   }
00287 
00288   static const char* value(const zeroconf_comms::AddServiceResponse_<ContainerAllocator> &) { return value(); } 
00289 };
00290 
00291 } // namespace service_traits
00292 } // namespace ros
00293 
00294 #endif // ZEROCONF_COMMS_SERVICE_ADDSERVICE_H
00295 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


zeroconf_comms
Author(s): Daniel Stonier
autogenerated on Tue Nov 13 2012 23:48:05