Network.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/msg/Network.msg */
00002 #ifndef WPA_SUPPLICANT_NODE_MESSAGE_NETWORK_H
00003 #define WPA_SUPPLICANT_NODE_MESSAGE_NETWORK_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 "wpa_supplicant_node/NetworkParameter.h"
00018 
00019 namespace wpa_supplicant_node
00020 {
00021 template <class ContainerAllocator>
00022 struct Network_ {
00023   typedef Network_<ContainerAllocator> Type;
00024 
00025   Network_()
00026   : network_id(0)
00027   , enabled(false)
00028   , parameters()
00029   {
00030   }
00031 
00032   Network_(const ContainerAllocator& _alloc)
00033   : network_id(0)
00034   , enabled(false)
00035   , parameters(_alloc)
00036   {
00037   }
00038 
00039   typedef int32_t _network_id_type;
00040   int32_t network_id;
00041 
00042   typedef uint8_t _enabled_type;
00043   uint8_t enabled;
00044 
00045   typedef std::vector< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> >::other >  _parameters_type;
00046   std::vector< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> >::other >  parameters;
00047 
00048 
00049   typedef boost::shared_ptr< ::wpa_supplicant_node::Network_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::wpa_supplicant_node::Network_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct Network
00053 typedef  ::wpa_supplicant_node::Network_<std::allocator<void> > Network;
00054 
00055 typedef boost::shared_ptr< ::wpa_supplicant_node::Network> NetworkPtr;
00056 typedef boost::shared_ptr< ::wpa_supplicant_node::Network const> NetworkConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::wpa_supplicant_node::Network_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::wpa_supplicant_node::Network_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace wpa_supplicant_node
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::Network_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::Network_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::wpa_supplicant_node::Network_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "daf87d6e9247d1f494a66a6eb210e85d";
00078   }
00079 
00080   static const char* value(const  ::wpa_supplicant_node::Network_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0xdaf87d6e9247d1f4ULL;
00082   static const uint64_t static_value2 = 0x94a66a6eb210e85dULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::wpa_supplicant_node::Network_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "wpa_supplicant_node/Network";
00090   }
00091 
00092   static const char* value(const  ::wpa_supplicant_node::Network_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::wpa_supplicant_node::Network_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "int32 network_id\n\
00100 bool enabled\n\
00101 NetworkParameter[] parameters\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: wpa_supplicant_node/NetworkParameter\n\
00105 string key\n\
00106 string value\n\
00107 \n\
00108 ";
00109   }
00110 
00111   static const char* value(const  ::wpa_supplicant_node::Network_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 } // namespace message_traits
00115 } // namespace ros
00116 
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121 
00122 template<class ContainerAllocator> struct Serializer< ::wpa_supplicant_node::Network_<ContainerAllocator> >
00123 {
00124   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125   {
00126     stream.next(m.network_id);
00127     stream.next(m.enabled);
00128     stream.next(m.parameters);
00129   }
00130 
00131   ROS_DECLARE_ALLINONE_SERIALIZER;
00132 }; // struct Network_
00133 } // namespace serialization
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140 
00141 template<class ContainerAllocator>
00142 struct Printer< ::wpa_supplicant_node::Network_<ContainerAllocator> >
00143 {
00144   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::wpa_supplicant_node::Network_<ContainerAllocator> & v) 
00145   {
00146     s << indent << "network_id: ";
00147     Printer<int32_t>::stream(s, indent + "  ", v.network_id);
00148     s << indent << "enabled: ";
00149     Printer<uint8_t>::stream(s, indent + "  ", v.enabled);
00150     s << indent << "parameters[]" << std::endl;
00151     for (size_t i = 0; i < v.parameters.size(); ++i)
00152     {
00153       s << indent << "  parameters[" << i << "]: ";
00154       s << std::endl;
00155       s << indent;
00156       Printer< ::wpa_supplicant_node::NetworkParameter_<ContainerAllocator> >::stream(s, indent + "    ", v.parameters[i]);
00157     }
00158   }
00159 };
00160 
00161 
00162 } // namespace message_operations
00163 } // namespace ros
00164 
00165 #endif // WPA_SUPPLICANT_NODE_MESSAGE_NETWORK_H
00166 


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