Protocols.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-zeroconf_comms/doc_stacks/2012-11-13_23-46-23.193189/zeroconf_comms/msg/Protocols.msg */
00002 #ifndef ZEROCONF_COMMS_MESSAGE_PROTOCOLS_H
00003 #define ZEROCONF_COMMS_MESSAGE_PROTOCOLS_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 
00018 namespace zeroconf_comms
00019 {
00020 template <class ContainerAllocator>
00021 struct Protocols_ {
00022   typedef Protocols_<ContainerAllocator> Type;
00023 
00024   Protocols_()
00025   {
00026   }
00027 
00028   Protocols_(const ContainerAllocator& _alloc)
00029   {
00030   }
00031 
00032   enum { UNSPECIFIED = 0 };
00033   enum { IPV4 = 1 };
00034   enum { IPV6 = 2 };
00035 
00036   typedef boost::shared_ptr< ::zeroconf_comms::Protocols_<ContainerAllocator> > Ptr;
00037   typedef boost::shared_ptr< ::zeroconf_comms::Protocols_<ContainerAllocator>  const> ConstPtr;
00038   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00039 }; // struct Protocols
00040 typedef  ::zeroconf_comms::Protocols_<std::allocator<void> > Protocols;
00041 
00042 typedef boost::shared_ptr< ::zeroconf_comms::Protocols> ProtocolsPtr;
00043 typedef boost::shared_ptr< ::zeroconf_comms::Protocols const> ProtocolsConstPtr;
00044 
00045 
00046 template<typename ContainerAllocator>
00047 std::ostream& operator<<(std::ostream& s, const  ::zeroconf_comms::Protocols_<ContainerAllocator> & v)
00048 {
00049   ros::message_operations::Printer< ::zeroconf_comms::Protocols_<ContainerAllocator> >::stream(s, "", v);
00050   return s;}
00051 
00052 } // namespace zeroconf_comms
00053 
00054 namespace ros
00055 {
00056 namespace message_traits
00057 {
00058 template<class ContainerAllocator> struct IsMessage< ::zeroconf_comms::Protocols_<ContainerAllocator> > : public TrueType {};
00059 template<class ContainerAllocator> struct IsMessage< ::zeroconf_comms::Protocols_<ContainerAllocator>  const> : public TrueType {};
00060 template<class ContainerAllocator>
00061 struct MD5Sum< ::zeroconf_comms::Protocols_<ContainerAllocator> > {
00062   static const char* value() 
00063   {
00064     return "6e173730dc50e42e6497a38ee52e9e4d";
00065   }
00066 
00067   static const char* value(const  ::zeroconf_comms::Protocols_<ContainerAllocator> &) { return value(); } 
00068   static const uint64_t static_value1 = 0x6e173730dc50e42eULL;
00069   static const uint64_t static_value2 = 0x6497a38ee52e9e4dULL;
00070 };
00071 
00072 template<class ContainerAllocator>
00073 struct DataType< ::zeroconf_comms::Protocols_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "zeroconf_comms/Protocols";
00077   }
00078 
00079   static const char* value(const  ::zeroconf_comms::Protocols_<ContainerAllocator> &) { return value(); } 
00080 };
00081 
00082 template<class ContainerAllocator>
00083 struct Definition< ::zeroconf_comms::Protocols_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "\n\
00087 # Protocol definitions used by all zeroconf messages and services.\n\
00088 \n\
00089 int8 UNSPECIFIED = 0\n\
00090 int8 IPV4 = 1\n\
00091 int8 IPV6 = 2\n\
00092 \n\
00093 ";
00094   }
00095 
00096   static const char* value(const  ::zeroconf_comms::Protocols_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator> struct IsFixedSize< ::zeroconf_comms::Protocols_<ContainerAllocator> > : public TrueType {};
00100 } // namespace message_traits
00101 } // namespace ros
00102 
00103 namespace ros
00104 {
00105 namespace serialization
00106 {
00107 
00108 template<class ContainerAllocator> struct Serializer< ::zeroconf_comms::Protocols_<ContainerAllocator> >
00109 {
00110   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00111   {
00112   }
00113 
00114   ROS_DECLARE_ALLINONE_SERIALIZER;
00115 }; // struct Protocols_
00116 } // namespace serialization
00117 } // namespace ros
00118 
00119 namespace ros
00120 {
00121 namespace message_operations
00122 {
00123 
00124 template<class ContainerAllocator>
00125 struct Printer< ::zeroconf_comms::Protocols_<ContainerAllocator> >
00126 {
00127   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::zeroconf_comms::Protocols_<ContainerAllocator> & v) 
00128   {
00129   }
00130 };
00131 
00132 
00133 } // namespace message_operations
00134 } // namespace ros
00135 
00136 #endif // ZEROCONF_COMMS_MESSAGE_PROTOCOLS_H
00137 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


zeroconf_comms
Author(s): Daniel Stonier
autogenerated on Tue Nov 13 2012 23:48:05