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


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