CfgMSG.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/ublox/ublox_msgs/msg/CfgMSG.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_CFGMSG_H
00003 #define UBLOX_MSGS_MESSAGE_CFGMSG_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 ublox_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct CfgMSG_ {
00022   typedef CfgMSG_<ContainerAllocator> Type;
00023 
00024   CfgMSG_()
00025   : msgClass(0)
00026   , msgID(0)
00027   , rate(0)
00028   {
00029   }
00030 
00031   CfgMSG_(const ContainerAllocator& _alloc)
00032   : msgClass(0)
00033   , msgID(0)
00034   , rate(0)
00035   {
00036   }
00037 
00038   typedef uint8_t _msgClass_type;
00039   uint8_t msgClass;
00040 
00041   typedef uint8_t _msgID_type;
00042   uint8_t msgID;
00043 
00044   typedef uint8_t _rate_type;
00045   uint8_t rate;
00046 
00047   enum { CLASS_ID = 6 };
00048   enum { MESSAGE_ID = 1 };
00049 
00050   typedef boost::shared_ptr< ::ublox_msgs::CfgMSG_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::ublox_msgs::CfgMSG_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct CfgMSG
00054 typedef  ::ublox_msgs::CfgMSG_<std::allocator<void> > CfgMSG;
00055 
00056 typedef boost::shared_ptr< ::ublox_msgs::CfgMSG> CfgMSGPtr;
00057 typedef boost::shared_ptr< ::ublox_msgs::CfgMSG const> CfgMSGConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::CfgMSG_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::ublox_msgs::CfgMSG_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace ublox_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgMSG_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgMSG_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::ublox_msgs::CfgMSG_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "9f2fcd2333c19c76cbfdf6a57fc64a9d";
00079   }
00080 
00081   static const char* value(const  ::ublox_msgs::CfgMSG_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x9f2fcd2333c19c76ULL;
00083   static const uint64_t static_value2 = 0xcbfdf6a57fc64a9dULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::ublox_msgs::CfgMSG_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "ublox_msgs/CfgMSG";
00091   }
00092 
00093   static const char* value(const  ::ublox_msgs::CfgMSG_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::ublox_msgs::CfgMSG_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "# CFG-MSG (0x06 0x01)\n\
00101 # Message Rate(s)\n\
00102 #\n\
00103 \n\
00104 uint8 CLASS_ID = 6\n\
00105 uint8 MESSAGE_ID = 1\n\
00106 \n\
00107 uint8 msgClass            # Message Class\n\
00108 uint8 msgID               # Message Identifier\n\
00109 uint8 rate                # Send rate on current Target\n\
00110 \n\
00111 ";
00112   }
00113 
00114   static const char* value(const  ::ublox_msgs::CfgMSG_<ContainerAllocator> &) { return value(); } 
00115 };
00116 
00117 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::CfgMSG_<ContainerAllocator> > : public TrueType {};
00118 } // namespace message_traits
00119 } // namespace ros
00120 
00121 namespace ros
00122 {
00123 namespace serialization
00124 {
00125 
00126 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::CfgMSG_<ContainerAllocator> >
00127 {
00128   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00129   {
00130     stream.next(m.msgClass);
00131     stream.next(m.msgID);
00132     stream.next(m.rate);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct CfgMSG_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::ublox_msgs::CfgMSG_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::CfgMSG_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "msgClass: ";
00151     Printer<uint8_t>::stream(s, indent + "  ", v.msgClass);
00152     s << indent << "msgID: ";
00153     Printer<uint8_t>::stream(s, indent + "  ", v.msgID);
00154     s << indent << "rate: ";
00155     Printer<uint8_t>::stream(s, indent + "  ", v.rate);
00156   }
00157 };
00158 
00159 
00160 } // namespace message_operations
00161 } // namespace ros
00162 
00163 #endif // UBLOX_MSGS_MESSAGE_CFGMSG_H
00164 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


ublox_msgs
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:55:23