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


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:21