00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-linux_networking/doc_stacks/2014-04-24_15-30-00.701266/linux_networking/wpa_supplicant_node/srv/AddNetwork.srv */ 00002 #ifndef WPA_SUPPLICANT_NODE_SERVICE_ADDNETWORK_H 00003 #define WPA_SUPPLICANT_NODE_SERVICE_ADDNETWORK_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 wpa_supplicant_node 00023 { 00024 template <class ContainerAllocator> 00025 struct AddNetworkRequest_ { 00026 typedef AddNetworkRequest_<ContainerAllocator> Type; 00027 00028 AddNetworkRequest_() 00029 { 00030 } 00031 00032 AddNetworkRequest_(const ContainerAllocator& _alloc) 00033 { 00034 } 00035 00036 00037 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > Ptr; 00038 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> const> ConstPtr; 00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00040 }; // struct AddNetworkRequest 00041 typedef ::wpa_supplicant_node::AddNetworkRequest_<std::allocator<void> > AddNetworkRequest; 00042 00043 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkRequest> AddNetworkRequestPtr; 00044 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkRequest const> AddNetworkRequestConstPtr; 00045 00046 00047 00048 template <class ContainerAllocator> 00049 struct AddNetworkResponse_ { 00050 typedef AddNetworkResponse_<ContainerAllocator> Type; 00051 00052 AddNetworkResponse_() 00053 : success(false) 00054 , network_id(0) 00055 { 00056 } 00057 00058 AddNetworkResponse_(const ContainerAllocator& _alloc) 00059 : success(false) 00060 , network_id(0) 00061 { 00062 } 00063 00064 typedef uint8_t _success_type; 00065 uint8_t success; 00066 00067 typedef int32_t _network_id_type; 00068 int32_t network_id; 00069 00070 00071 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > Ptr; 00072 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> const> ConstPtr; 00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00074 }; // struct AddNetworkResponse 00075 typedef ::wpa_supplicant_node::AddNetworkResponse_<std::allocator<void> > AddNetworkResponse; 00076 00077 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkResponse> AddNetworkResponsePtr; 00078 typedef boost::shared_ptr< ::wpa_supplicant_node::AddNetworkResponse const> AddNetworkResponseConstPtr; 00079 00080 00081 struct AddNetwork 00082 { 00083 00084 typedef AddNetworkRequest Request; 00085 typedef AddNetworkResponse Response; 00086 Request request; 00087 Response response; 00088 00089 typedef Request RequestType; 00090 typedef Response ResponseType; 00091 }; // struct AddNetwork 00092 } // namespace wpa_supplicant_node 00093 00094 namespace ros 00095 { 00096 namespace message_traits 00097 { 00098 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > : public TrueType {}; 00099 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> const> : public TrueType {}; 00100 template<class ContainerAllocator> 00101 struct MD5Sum< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > { 00102 static const char* value() 00103 { 00104 return "d41d8cd98f00b204e9800998ecf8427e"; 00105 } 00106 00107 static const char* value(const ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> &) { return value(); } 00108 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00109 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00110 }; 00111 00112 template<class ContainerAllocator> 00113 struct DataType< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > { 00114 static const char* value() 00115 { 00116 return "wpa_supplicant_node/AddNetworkRequest"; 00117 } 00118 00119 static const char* value(const ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> &) { return value(); } 00120 }; 00121 00122 template<class ContainerAllocator> 00123 struct Definition< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > { 00124 static const char* value() 00125 { 00126 return "\n\ 00127 \n\ 00128 "; 00129 } 00130 00131 static const char* value(const ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> &) { return value(); } 00132 }; 00133 00134 template<class ContainerAllocator> struct IsFixedSize< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > : public TrueType {}; 00135 } // namespace message_traits 00136 } // namespace ros 00137 00138 00139 namespace ros 00140 { 00141 namespace message_traits 00142 { 00143 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > : public TrueType {}; 00144 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> const> : public TrueType {}; 00145 template<class ContainerAllocator> 00146 struct MD5Sum< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "beccb82ed0f84d8e0d5117e923477b3f"; 00150 } 00151 00152 static const char* value(const ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> &) { return value(); } 00153 static const uint64_t static_value1 = 0xbeccb82ed0f84d8eULL; 00154 static const uint64_t static_value2 = 0x0d5117e923477b3fULL; 00155 }; 00156 00157 template<class ContainerAllocator> 00158 struct DataType< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > { 00159 static const char* value() 00160 { 00161 return "wpa_supplicant_node/AddNetworkResponse"; 00162 } 00163 00164 static const char* value(const ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> &) { return value(); } 00165 }; 00166 00167 template<class ContainerAllocator> 00168 struct Definition< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "bool success\n\ 00172 int32 network_id\n\ 00173 \n\ 00174 \n\ 00175 "; 00176 } 00177 00178 static const char* value(const ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> &) { return value(); } 00179 }; 00180 00181 template<class ContainerAllocator> struct IsFixedSize< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > : public TrueType {}; 00182 } // namespace message_traits 00183 } // namespace ros 00184 00185 namespace ros 00186 { 00187 namespace serialization 00188 { 00189 00190 template<class ContainerAllocator> struct Serializer< ::wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > 00191 { 00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00193 { 00194 } 00195 00196 ROS_DECLARE_ALLINONE_SERIALIZER; 00197 }; // struct AddNetworkRequest_ 00198 } // namespace serialization 00199 } // namespace ros 00200 00201 00202 namespace ros 00203 { 00204 namespace serialization 00205 { 00206 00207 template<class ContainerAllocator> struct Serializer< ::wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > 00208 { 00209 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00210 { 00211 stream.next(m.success); 00212 stream.next(m.network_id); 00213 } 00214 00215 ROS_DECLARE_ALLINONE_SERIALIZER; 00216 }; // struct AddNetworkResponse_ 00217 } // namespace serialization 00218 } // namespace ros 00219 00220 namespace ros 00221 { 00222 namespace service_traits 00223 { 00224 template<> 00225 struct MD5Sum<wpa_supplicant_node::AddNetwork> { 00226 static const char* value() 00227 { 00228 return "beccb82ed0f84d8e0d5117e923477b3f"; 00229 } 00230 00231 static const char* value(const wpa_supplicant_node::AddNetwork&) { return value(); } 00232 }; 00233 00234 template<> 00235 struct DataType<wpa_supplicant_node::AddNetwork> { 00236 static const char* value() 00237 { 00238 return "wpa_supplicant_node/AddNetwork"; 00239 } 00240 00241 static const char* value(const wpa_supplicant_node::AddNetwork&) { return value(); } 00242 }; 00243 00244 template<class ContainerAllocator> 00245 struct MD5Sum<wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > { 00246 static const char* value() 00247 { 00248 return "beccb82ed0f84d8e0d5117e923477b3f"; 00249 } 00250 00251 static const char* value(const wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> &) { return value(); } 00252 }; 00253 00254 template<class ContainerAllocator> 00255 struct DataType<wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "wpa_supplicant_node/AddNetwork"; 00259 } 00260 00261 static const char* value(const wpa_supplicant_node::AddNetworkRequest_<ContainerAllocator> &) { return value(); } 00262 }; 00263 00264 template<class ContainerAllocator> 00265 struct MD5Sum<wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "beccb82ed0f84d8e0d5117e923477b3f"; 00269 } 00270 00271 static const char* value(const wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> &) { return value(); } 00272 }; 00273 00274 template<class ContainerAllocator> 00275 struct DataType<wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> > { 00276 static const char* value() 00277 { 00278 return "wpa_supplicant_node/AddNetwork"; 00279 } 00280 00281 static const char* value(const wpa_supplicant_node::AddNetworkResponse_<ContainerAllocator> &) { return value(); } 00282 }; 00283 00284 } // namespace service_traits 00285 } // namespace ros 00286 00287 #endif // WPA_SUPPLICANT_NODE_SERVICE_ADDNETWORK_H 00288