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