CfgCFG.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/CfgCFG.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_CFGCFG_H
00003 #define UBLOX_MSGS_MESSAGE_CFGCFG_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 CfgCFG_ {
00022   typedef CfgCFG_<ContainerAllocator> Type;
00023 
00024   CfgCFG_()
00025   : clearMask(0)
00026   , saveMask(0)
00027   , loadMask(0)
00028   , deviceMask(0)
00029   {
00030   }
00031 
00032   CfgCFG_(const ContainerAllocator& _alloc)
00033   : clearMask(0)
00034   , saveMask(0)
00035   , loadMask(0)
00036   , deviceMask(0)
00037   {
00038   }
00039 
00040   typedef uint32_t _clearMask_type;
00041   uint32_t clearMask;
00042 
00043   typedef uint32_t _saveMask_type;
00044   uint32_t saveMask;
00045 
00046   typedef uint32_t _loadMask_type;
00047   uint32_t loadMask;
00048 
00049   typedef uint8_t _deviceMask_type;
00050   uint8_t deviceMask;
00051 
00052   enum { CLASS_ID = 6 };
00053   enum { MESSAGE_ID = 9 };
00054   enum { MASK_IO_PORT = 1 };
00055   enum { MASK_MSG_CONF = 2 };
00056   enum { MASK_INF_MSG = 4 };
00057   enum { MASK_NAV_CONF = 8 };
00058   enum { MASK_RXM_CONF = 16 };
00059   enum { MASK_RINV_CONF = 512 };
00060   enum { MASK_ANT_CONF = 1024 };
00061   enum { DEV_BBR = 1 };
00062   enum { DEV_FLASH = 2 };
00063   enum { DEV_EEPROM = 4 };
00064   enum { DEV_SPI_FLASH = 16 };
00065 
00066   typedef boost::shared_ptr< ::ublox_msgs::CfgCFG_<ContainerAllocator> > Ptr;
00067   typedef boost::shared_ptr< ::ublox_msgs::CfgCFG_<ContainerAllocator>  const> ConstPtr;
00068   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 }; // struct CfgCFG
00070 typedef  ::ublox_msgs::CfgCFG_<std::allocator<void> > CfgCFG;
00071 
00072 typedef boost::shared_ptr< ::ublox_msgs::CfgCFG> CfgCFGPtr;
00073 typedef boost::shared_ptr< ::ublox_msgs::CfgCFG const> CfgCFGConstPtr;
00074 
00075 
00076 template<typename ContainerAllocator>
00077 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::CfgCFG_<ContainerAllocator> & v)
00078 {
00079   ros::message_operations::Printer< ::ublox_msgs::CfgCFG_<ContainerAllocator> >::stream(s, "", v);
00080   return s;}
00081 
00082 } // namespace ublox_msgs
00083 
00084 namespace ros
00085 {
00086 namespace message_traits
00087 {
00088 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgCFG_<ContainerAllocator> > : public TrueType {};
00089 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgCFG_<ContainerAllocator>  const> : public TrueType {};
00090 template<class ContainerAllocator>
00091 struct MD5Sum< ::ublox_msgs::CfgCFG_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "13fb5dc245f45e15f71ae45386c6e5b8";
00095   }
00096 
00097   static const char* value(const  ::ublox_msgs::CfgCFG_<ContainerAllocator> &) { return value(); } 
00098   static const uint64_t static_value1 = 0x13fb5dc245f45e15ULL;
00099   static const uint64_t static_value2 = 0xf71ae45386c6e5b8ULL;
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct DataType< ::ublox_msgs::CfgCFG_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "ublox_msgs/CfgCFG";
00107   }
00108 
00109   static const char* value(const  ::ublox_msgs::CfgCFG_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct Definition< ::ublox_msgs::CfgCFG_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "# CFG-CFG (0x06 0x09)\n\
00117 # Antenna Control Settings\n\
00118 #\n\
00119 \n\
00120 uint8 CLASS_ID = 6\n\
00121 uint8 MESSAGE_ID = 9\n\
00122 \n\
00123 uint32 clearMask          # Mask with configuration sub-sections to Clear\n\
00124                           # (=Load Default Configurations to Permanent\n\
00125                           # Configurations in non-volatile memory)\n\
00126 uint32 saveMask           # Mask with configuration sub-section to Save\n\
00127                           # (=Save Current Configuration to Non-volatile\n\
00128                           # Memory)\n\
00129 uint32 loadMask           # Mask with configuration sub-sections to Load\n\
00130                           # (=Load Permanent Configurations from\n\
00131                           # Non-volatile Memory to Current Configurations)\n\
00132 \n\
00133 uint32 MASK_IO_PORT = 1       # Port Settings\n\
00134 uint32 MASK_MSG_CONF = 2      # Message Configuration\n\
00135 uint32 MASK_INF_MSG = 4       # INF Message Configuration\n\
00136 uint32 MASK_NAV_CONF = 8      # Navigation Configuration\n\
00137 uint32 MASK_RXM_CONF = 16     # Receiver Manager Configuration\n\
00138 uint32 MASK_RINV_CONF = 512   # Remote Inventory Configuration\n\
00139 uint32 MASK_ANT_CONF = 1024   # Antenna Configuration\n\
00140 \n\
00141 uint8 deviceMask          # Mask which selects the devices for this command\n\
00142 uint8 DEV_BBR = 1             # device battery backed RAM\n\
00143 uint8 DEV_FLASH = 2           # device Flash\n\
00144 uint8 DEV_EEPROM = 4          # device EEPROM\n\
00145 uint8 DEV_SPI_FLASH = 16      # device SPI Flash\n\
00146 \n\
00147 ";
00148   }
00149 
00150   static const char* value(const  ::ublox_msgs::CfgCFG_<ContainerAllocator> &) { return value(); } 
00151 };
00152 
00153 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::CfgCFG_<ContainerAllocator> > : public TrueType {};
00154 } // namespace message_traits
00155 } // namespace ros
00156 
00157 namespace ros
00158 {
00159 namespace serialization
00160 {
00161 
00162 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::CfgCFG_<ContainerAllocator> >
00163 {
00164   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00165   {
00166     stream.next(m.clearMask);
00167     stream.next(m.saveMask);
00168     stream.next(m.loadMask);
00169     stream.next(m.deviceMask);
00170   }
00171 
00172   ROS_DECLARE_ALLINONE_SERIALIZER;
00173 }; // struct CfgCFG_
00174 } // namespace serialization
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace message_operations
00180 {
00181 
00182 template<class ContainerAllocator>
00183 struct Printer< ::ublox_msgs::CfgCFG_<ContainerAllocator> >
00184 {
00185   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::CfgCFG_<ContainerAllocator> & v) 
00186   {
00187     s << indent << "clearMask: ";
00188     Printer<uint32_t>::stream(s, indent + "  ", v.clearMask);
00189     s << indent << "saveMask: ";
00190     Printer<uint32_t>::stream(s, indent + "  ", v.saveMask);
00191     s << indent << "loadMask: ";
00192     Printer<uint32_t>::stream(s, indent + "  ", v.loadMask);
00193     s << indent << "deviceMask: ";
00194     Printer<uint8_t>::stream(s, indent + "  ", v.deviceMask);
00195   }
00196 };
00197 
00198 
00199 } // namespace message_operations
00200 } // namespace ros
00201 
00202 #endif // UBLOX_MSGS_MESSAGE_CFGCFG_H
00203 
 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