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/RemoveService.srv */ 00002 #ifndef ZEROCONF_MSGS_SERVICE_REMOVESERVICE_H 00003 #define ZEROCONF_MSGS_SERVICE_REMOVESERVICE_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_msgs/PublishedService.h" 00020 00021 00022 00023 namespace zeroconf_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct RemoveServiceRequest_ { 00027 typedef RemoveServiceRequest_<ContainerAllocator> Type; 00028 00029 RemoveServiceRequest_() 00030 : service() 00031 { 00032 } 00033 00034 RemoveServiceRequest_(const ContainerAllocator& _alloc) 00035 : service(_alloc) 00036 { 00037 } 00038 00039 typedef ::zeroconf_msgs::PublishedService_<ContainerAllocator> _service_type; 00040 ::zeroconf_msgs::PublishedService_<ContainerAllocator> service; 00041 00042 00043 typedef boost::shared_ptr< ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> > Ptr; 00044 typedef boost::shared_ptr< ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> const> ConstPtr; 00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00046 }; // struct RemoveServiceRequest 00047 typedef ::zeroconf_msgs::RemoveServiceRequest_<std::allocator<void> > RemoveServiceRequest; 00048 00049 typedef boost::shared_ptr< ::zeroconf_msgs::RemoveServiceRequest> RemoveServiceRequestPtr; 00050 typedef boost::shared_ptr< ::zeroconf_msgs::RemoveServiceRequest const> RemoveServiceRequestConstPtr; 00051 00052 00053 template <class ContainerAllocator> 00054 struct RemoveServiceResponse_ { 00055 typedef RemoveServiceResponse_<ContainerAllocator> Type; 00056 00057 RemoveServiceResponse_() 00058 : result(false) 00059 { 00060 } 00061 00062 RemoveServiceResponse_(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_msgs::RemoveServiceResponse_<ContainerAllocator> > Ptr; 00072 typedef boost::shared_ptr< ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> const> ConstPtr; 00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00074 }; // struct RemoveServiceResponse 00075 typedef ::zeroconf_msgs::RemoveServiceResponse_<std::allocator<void> > RemoveServiceResponse; 00076 00077 typedef boost::shared_ptr< ::zeroconf_msgs::RemoveServiceResponse> RemoveServiceResponsePtr; 00078 typedef boost::shared_ptr< ::zeroconf_msgs::RemoveServiceResponse const> RemoveServiceResponseConstPtr; 00079 00080 struct RemoveService 00081 { 00082 00083 typedef RemoveServiceRequest Request; 00084 typedef RemoveServiceResponse Response; 00085 Request request; 00086 Response response; 00087 00088 typedef Request RequestType; 00089 typedef Response ResponseType; 00090 }; // struct RemoveService 00091 } // namespace zeroconf_msgs 00092 00093 namespace ros 00094 { 00095 namespace message_traits 00096 { 00097 template<class ContainerAllocator> struct IsMessage< ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> > : public TrueType {}; 00098 template<class ContainerAllocator> struct IsMessage< ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> const> : public TrueType {}; 00099 template<class ContainerAllocator> 00100 struct MD5Sum< ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> > { 00101 static const char* value() 00102 { 00103 return "7028a4a43349f6cca86209ddd39f607a"; 00104 } 00105 00106 static const char* value(const ::zeroconf_msgs::RemoveServiceRequest_<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_msgs::RemoveServiceRequest_<ContainerAllocator> > { 00113 static const char* value() 00114 { 00115 return "zeroconf_msgs/RemoveServiceRequest"; 00116 } 00117 00118 static const char* value(const ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> &) { return value(); } 00119 }; 00120 00121 template<class ContainerAllocator> 00122 struct Definition< ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> > { 00123 static const char* value() 00124 { 00125 return "zeroconf_msgs/PublishedService service\n\ 00126 \n\ 00127 ================================================================================\n\ 00128 MSG: zeroconf_msgs/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_msgs::RemoveServiceRequest_<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_msgs::RemoveServiceResponse_<ContainerAllocator> > : public TrueType {}; 00153 template<class ContainerAllocator> struct IsMessage< ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> const> : public TrueType {}; 00154 template<class ContainerAllocator> 00155 struct MD5Sum< ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> > { 00156 static const char* value() 00157 { 00158 return "eb13ac1f1354ccecb7941ee8fa2192e8"; 00159 } 00160 00161 static const char* value(const ::zeroconf_msgs::RemoveServiceResponse_<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_msgs::RemoveServiceResponse_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "zeroconf_msgs/RemoveServiceResponse"; 00171 } 00172 00173 static const char* value(const ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> &) { return value(); } 00174 }; 00175 00176 template<class ContainerAllocator> 00177 struct Definition< ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> > { 00178 static const char* value() 00179 { 00180 return "bool result\n\ 00181 \n\ 00182 \n\ 00183 "; 00184 } 00185 00186 static const char* value(const ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> &) { return value(); } 00187 }; 00188 00189 template<class ContainerAllocator> struct IsFixedSize< ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> > : public TrueType {}; 00190 } // namespace message_traits 00191 } // namespace ros 00192 00193 namespace ros 00194 { 00195 namespace serialization 00196 { 00197 00198 template<class ContainerAllocator> struct Serializer< ::zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> > 00199 { 00200 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00201 { 00202 stream.next(m.service); 00203 } 00204 00205 ROS_DECLARE_ALLINONE_SERIALIZER; 00206 }; // struct RemoveServiceRequest_ 00207 } // namespace serialization 00208 } // namespace ros 00209 00210 00211 namespace ros 00212 { 00213 namespace serialization 00214 { 00215 00216 template<class ContainerAllocator> struct Serializer< ::zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> > 00217 { 00218 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00219 { 00220 stream.next(m.result); 00221 } 00222 00223 ROS_DECLARE_ALLINONE_SERIALIZER; 00224 }; // struct RemoveServiceResponse_ 00225 } // namespace serialization 00226 } // namespace ros 00227 00228 namespace ros 00229 { 00230 namespace service_traits 00231 { 00232 template<> 00233 struct MD5Sum<zeroconf_msgs::RemoveService> { 00234 static const char* value() 00235 { 00236 return "2ae0e420b2f58ab49b813cd81e42d4b3"; 00237 } 00238 00239 static const char* value(const zeroconf_msgs::RemoveService&) { return value(); } 00240 }; 00241 00242 template<> 00243 struct DataType<zeroconf_msgs::RemoveService> { 00244 static const char* value() 00245 { 00246 return "zeroconf_msgs/RemoveService"; 00247 } 00248 00249 static const char* value(const zeroconf_msgs::RemoveService&) { return value(); } 00250 }; 00251 00252 template<class ContainerAllocator> 00253 struct MD5Sum<zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> > { 00254 static const char* value() 00255 { 00256 return "2ae0e420b2f58ab49b813cd81e42d4b3"; 00257 } 00258 00259 static const char* value(const zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> &) { return value(); } 00260 }; 00261 00262 template<class ContainerAllocator> 00263 struct DataType<zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> > { 00264 static const char* value() 00265 { 00266 return "zeroconf_msgs/RemoveService"; 00267 } 00268 00269 static const char* value(const zeroconf_msgs::RemoveServiceRequest_<ContainerAllocator> &) { return value(); } 00270 }; 00271 00272 template<class ContainerAllocator> 00273 struct MD5Sum<zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> > { 00274 static const char* value() 00275 { 00276 return "2ae0e420b2f58ab49b813cd81e42d4b3"; 00277 } 00278 00279 static const char* value(const zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> &) { return value(); } 00280 }; 00281 00282 template<class ContainerAllocator> 00283 struct DataType<zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> > { 00284 static const char* value() 00285 { 00286 return "zeroconf_msgs/RemoveService"; 00287 } 00288 00289 static const char* value(const zeroconf_msgs::RemoveServiceResponse_<ContainerAllocator> &) { return value(); } 00290 }; 00291 00292 } // namespace service_traits 00293 } // namespace ros 00294 00295 #endif // ZEROCONF_MSGS_SERVICE_REMOVESERVICE_H 00296