SetNetworkParameters.h
Go to the documentation of this file.
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/SetNetworkParameters.srv */
00002 #ifndef WPA_SUPPLICANT_NODE_SERVICE_SETNETWORKPARAMETERS_H
00003 #define WPA_SUPPLICANT_NODE_SERVICE_SETNETWORKPARAMETERS_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 "wpa_supplicant_node/NetworkParameter.h"
00020 
00021 
00022 
00023 namespace wpa_supplicant_node
00024 {
00025 template <class ContainerAllocator>
00026 struct SetNetworkParametersRequest_ {
00027   typedef SetNetworkParametersRequest_<ContainerAllocator> Type;
00028 
00029   SetNetworkParametersRequest_()
00030   : network_id(0)
00031   , parameters()
00032   {
00033   }
00034 
00035   SetNetworkParametersRequest_(const ContainerAllocator& _alloc)
00036   : network_id(0)
00037   , parameters(_alloc)
00038   {
00039   }
00040 
00041   typedef int32_t _network_id_type;
00042   int32_t network_id;
00043 
00044   typedef std::vector< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> >::other >  _parameters_type;
00045   std::vector< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> >::other >  parameters;
00046 
00047 
00048   typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct SetNetworkParametersRequest
00052 typedef  ::wpa_supplicant_node::SetNetworkParametersRequest_<std::allocator<void> > SetNetworkParametersRequest;
00053 
00054 typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersRequest> SetNetworkParametersRequestPtr;
00055 typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersRequest const> SetNetworkParametersRequestConstPtr;
00056 
00057 
00058 template <class ContainerAllocator>
00059 struct SetNetworkParametersResponse_ {
00060   typedef SetNetworkParametersResponse_<ContainerAllocator> Type;
00061 
00062   SetNetworkParametersResponse_()
00063   : success(false)
00064   {
00065   }
00066 
00067   SetNetworkParametersResponse_(const ContainerAllocator& _alloc)
00068   : success(false)
00069   {
00070   }
00071 
00072   typedef uint8_t _success_type;
00073   uint8_t success;
00074 
00075 
00076   typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> > Ptr;
00077   typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator>  const> ConstPtr;
00078   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 }; // struct SetNetworkParametersResponse
00080 typedef  ::wpa_supplicant_node::SetNetworkParametersResponse_<std::allocator<void> > SetNetworkParametersResponse;
00081 
00082 typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersResponse> SetNetworkParametersResponsePtr;
00083 typedef boost::shared_ptr< ::wpa_supplicant_node::SetNetworkParametersResponse const> SetNetworkParametersResponseConstPtr;
00084 
00085 struct SetNetworkParameters
00086 {
00087 
00088 typedef SetNetworkParametersRequest Request;
00089 typedef SetNetworkParametersResponse Response;
00090 Request request;
00091 Response response;
00092 
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 }; // struct SetNetworkParameters
00096 } // namespace wpa_supplicant_node
00097 
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator>  const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "910652ba566487098d045356b15748d7";
00109   }
00110 
00111   static const char* value(const  ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> &) { return value(); } 
00112   static const uint64_t static_value1 = 0x910652ba56648709ULL;
00113   static const uint64_t static_value2 = 0x8d045356b15748d7ULL;
00114 };
00115 
00116 template<class ContainerAllocator>
00117 struct DataType< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> > {
00118   static const char* value() 
00119   {
00120     return "wpa_supplicant_node/SetNetworkParametersRequest";
00121   }
00122 
00123   static const char* value(const  ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 template<class ContainerAllocator>
00127 struct Definition< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "int32 network_id\n\
00131 NetworkParameter[] parameters\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: wpa_supplicant_node/NetworkParameter\n\
00135 string key\n\
00136 string value\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::wpa_supplicant_node::SetNetworkParametersRequest_<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< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> > : public TrueType {};
00153 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator>  const> : public TrueType {};
00154 template<class ContainerAllocator>
00155 struct MD5Sum< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> > {
00156   static const char* value() 
00157   {
00158     return "358e233cde0c8a8bcfea4ce193f8fc15";
00159   }
00160 
00161   static const char* value(const  ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> &) { return value(); } 
00162   static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00163   static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00164 };
00165 
00166 template<class ContainerAllocator>
00167 struct DataType< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> > {
00168   static const char* value() 
00169   {
00170     return "wpa_supplicant_node/SetNetworkParametersResponse";
00171   }
00172 
00173   static const char* value(const  ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> &) { return value(); } 
00174 };
00175 
00176 template<class ContainerAllocator>
00177 struct Definition< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> > {
00178   static const char* value() 
00179   {
00180     return "bool success\n\
00181 \n\
00182 \n\
00183 ";
00184   }
00185 
00186   static const char* value(const  ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> &) { return value(); } 
00187 };
00188 
00189 template<class ContainerAllocator> struct IsFixedSize< ::wpa_supplicant_node::SetNetworkParametersResponse_<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< ::wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> >
00199 {
00200   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201   {
00202     stream.next(m.network_id);
00203     stream.next(m.parameters);
00204   }
00205 
00206   ROS_DECLARE_ALLINONE_SERIALIZER;
00207 }; // struct SetNetworkParametersRequest_
00208 } // namespace serialization
00209 } // namespace ros
00210 
00211 
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216 
00217 template<class ContainerAllocator> struct Serializer< ::wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> >
00218 {
00219   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220   {
00221     stream.next(m.success);
00222   }
00223 
00224   ROS_DECLARE_ALLINONE_SERIALIZER;
00225 }; // struct SetNetworkParametersResponse_
00226 } // namespace serialization
00227 } // namespace ros
00228 
00229 namespace ros
00230 {
00231 namespace service_traits
00232 {
00233 template<>
00234 struct MD5Sum<wpa_supplicant_node::SetNetworkParameters> {
00235   static const char* value() 
00236   {
00237     return "5976506ced89c8f3cbb16c30615609ad";
00238   }
00239 
00240   static const char* value(const wpa_supplicant_node::SetNetworkParameters&) { return value(); } 
00241 };
00242 
00243 template<>
00244 struct DataType<wpa_supplicant_node::SetNetworkParameters> {
00245   static const char* value() 
00246   {
00247     return "wpa_supplicant_node/SetNetworkParameters";
00248   }
00249 
00250   static const char* value(const wpa_supplicant_node::SetNetworkParameters&) { return value(); } 
00251 };
00252 
00253 template<class ContainerAllocator>
00254 struct MD5Sum<wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> > {
00255   static const char* value() 
00256   {
00257     return "5976506ced89c8f3cbb16c30615609ad";
00258   }
00259 
00260   static const char* value(const wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> &) { return value(); } 
00261 };
00262 
00263 template<class ContainerAllocator>
00264 struct DataType<wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> > {
00265   static const char* value() 
00266   {
00267     return "wpa_supplicant_node/SetNetworkParameters";
00268   }
00269 
00270   static const char* value(const wpa_supplicant_node::SetNetworkParametersRequest_<ContainerAllocator> &) { return value(); } 
00271 };
00272 
00273 template<class ContainerAllocator>
00274 struct MD5Sum<wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> > {
00275   static const char* value() 
00276   {
00277     return "5976506ced89c8f3cbb16c30615609ad";
00278   }
00279 
00280   static const char* value(const wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> &) { return value(); } 
00281 };
00282 
00283 template<class ContainerAllocator>
00284 struct DataType<wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> > {
00285   static const char* value() 
00286   {
00287     return "wpa_supplicant_node/SetNetworkParameters";
00288   }
00289 
00290   static const char* value(const wpa_supplicant_node::SetNetworkParametersResponse_<ContainerAllocator> &) { return value(); } 
00291 };
00292 
00293 } // namespace service_traits
00294 } // namespace ros
00295 
00296 #endif // WPA_SUPPLICANT_NODE_SERVICE_SETNETWORKPARAMETERS_H
00297 


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:14