$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tu-darmstadt-ros-pkg/doc_stacks/2013-03-05_12-22-58.304137/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 private: 00067 static const char* __s_getDataType_() { return "ublox_msgs/CfgCFG"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00070 00071 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00072 00073 private: 00074 static const char* __s_getMD5Sum_() { return "13fb5dc245f45e15f71ae45386c6e5b8"; } 00075 public: 00076 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00077 00078 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00079 00080 private: 00081 static const char* __s_getMessageDefinition_() { return "# CFG-CFG (0x06 0x09)\n\ 00082 # Antenna Control Settings\n\ 00083 #\n\ 00084 \n\ 00085 uint8 CLASS_ID = 6\n\ 00086 uint8 MESSAGE_ID = 9\n\ 00087 \n\ 00088 uint32 clearMask # Mask with configuration sub-sections to Clear\n\ 00089 # (=Load Default Configurations to Permanent\n\ 00090 # Configurations in non-volatile memory)\n\ 00091 uint32 saveMask # Mask with configuration sub-section to Save\n\ 00092 # (=Save Current Configuration to Non-volatile\n\ 00093 # Memory)\n\ 00094 uint32 loadMask # Mask with configuration sub-sections to Load\n\ 00095 # (=Load Permanent Configurations from\n\ 00096 # Non-volatile Memory to Current Configurations)\n\ 00097 \n\ 00098 uint32 MASK_IO_PORT = 1 # Port Settings\n\ 00099 uint32 MASK_MSG_CONF = 2 # Message Configuration\n\ 00100 uint32 MASK_INF_MSG = 4 # INF Message Configuration\n\ 00101 uint32 MASK_NAV_CONF = 8 # Navigation Configuration\n\ 00102 uint32 MASK_RXM_CONF = 16 # Receiver Manager Configuration\n\ 00103 uint32 MASK_RINV_CONF = 512 # Remote Inventory Configuration\n\ 00104 uint32 MASK_ANT_CONF = 1024 # Antenna Configuration\n\ 00105 \n\ 00106 uint8 deviceMask # Mask which selects the devices for this command\n\ 00107 uint8 DEV_BBR = 1 # device battery backed RAM\n\ 00108 uint8 DEV_FLASH = 2 # device Flash\n\ 00109 uint8 DEV_EEPROM = 4 # device EEPROM\n\ 00110 uint8 DEV_SPI_FLASH = 16 # device SPI Flash\n\ 00111 \n\ 00112 "; } 00113 public: 00114 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00115 00116 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00117 00118 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00119 { 00120 ros::serialization::OStream stream(write_ptr, 1000000000); 00121 ros::serialization::serialize(stream, clearMask); 00122 ros::serialization::serialize(stream, saveMask); 00123 ros::serialization::serialize(stream, loadMask); 00124 ros::serialization::serialize(stream, deviceMask); 00125 return stream.getData(); 00126 } 00127 00128 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00129 { 00130 ros::serialization::IStream stream(read_ptr, 1000000000); 00131 ros::serialization::deserialize(stream, clearMask); 00132 ros::serialization::deserialize(stream, saveMask); 00133 ros::serialization::deserialize(stream, loadMask); 00134 ros::serialization::deserialize(stream, deviceMask); 00135 return stream.getData(); 00136 } 00137 00138 ROS_DEPRECATED virtual uint32_t serializationLength() const 00139 { 00140 uint32_t size = 0; 00141 size += ros::serialization::serializationLength(clearMask); 00142 size += ros::serialization::serializationLength(saveMask); 00143 size += ros::serialization::serializationLength(loadMask); 00144 size += ros::serialization::serializationLength(deviceMask); 00145 return size; 00146 } 00147 00148 typedef boost::shared_ptr< ::ublox_msgs::CfgCFG_<ContainerAllocator> > Ptr; 00149 typedef boost::shared_ptr< ::ublox_msgs::CfgCFG_<ContainerAllocator> const> ConstPtr; 00150 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00151 }; // struct CfgCFG 00152 typedef ::ublox_msgs::CfgCFG_<std::allocator<void> > CfgCFG; 00153 00154 typedef boost::shared_ptr< ::ublox_msgs::CfgCFG> CfgCFGPtr; 00155 typedef boost::shared_ptr< ::ublox_msgs::CfgCFG const> CfgCFGConstPtr; 00156 00157 00158 template<typename ContainerAllocator> 00159 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::CfgCFG_<ContainerAllocator> & v) 00160 { 00161 ros::message_operations::Printer< ::ublox_msgs::CfgCFG_<ContainerAllocator> >::stream(s, "", v); 00162 return s;} 00163 00164 } // namespace ublox_msgs 00165 00166 namespace ros 00167 { 00168 namespace message_traits 00169 { 00170 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgCFG_<ContainerAllocator> > : public TrueType {}; 00171 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::CfgCFG_<ContainerAllocator> const> : public TrueType {}; 00172 template<class ContainerAllocator> 00173 struct MD5Sum< ::ublox_msgs::CfgCFG_<ContainerAllocator> > { 00174 static const char* value() 00175 { 00176 return "13fb5dc245f45e15f71ae45386c6e5b8"; 00177 } 00178 00179 static const char* value(const ::ublox_msgs::CfgCFG_<ContainerAllocator> &) { return value(); } 00180 static const uint64_t static_value1 = 0x13fb5dc245f45e15ULL; 00181 static const uint64_t static_value2 = 0xf71ae45386c6e5b8ULL; 00182 }; 00183 00184 template<class ContainerAllocator> 00185 struct DataType< ::ublox_msgs::CfgCFG_<ContainerAllocator> > { 00186 static const char* value() 00187 { 00188 return "ublox_msgs/CfgCFG"; 00189 } 00190 00191 static const char* value(const ::ublox_msgs::CfgCFG_<ContainerAllocator> &) { return value(); } 00192 }; 00193 00194 template<class ContainerAllocator> 00195 struct Definition< ::ublox_msgs::CfgCFG_<ContainerAllocator> > { 00196 static const char* value() 00197 { 00198 return "# CFG-CFG (0x06 0x09)\n\ 00199 # Antenna Control Settings\n\ 00200 #\n\ 00201 \n\ 00202 uint8 CLASS_ID = 6\n\ 00203 uint8 MESSAGE_ID = 9\n\ 00204 \n\ 00205 uint32 clearMask # Mask with configuration sub-sections to Clear\n\ 00206 # (=Load Default Configurations to Permanent\n\ 00207 # Configurations in non-volatile memory)\n\ 00208 uint32 saveMask # Mask with configuration sub-section to Save\n\ 00209 # (=Save Current Configuration to Non-volatile\n\ 00210 # Memory)\n\ 00211 uint32 loadMask # Mask with configuration sub-sections to Load\n\ 00212 # (=Load Permanent Configurations from\n\ 00213 # Non-volatile Memory to Current Configurations)\n\ 00214 \n\ 00215 uint32 MASK_IO_PORT = 1 # Port Settings\n\ 00216 uint32 MASK_MSG_CONF = 2 # Message Configuration\n\ 00217 uint32 MASK_INF_MSG = 4 # INF Message Configuration\n\ 00218 uint32 MASK_NAV_CONF = 8 # Navigation Configuration\n\ 00219 uint32 MASK_RXM_CONF = 16 # Receiver Manager Configuration\n\ 00220 uint32 MASK_RINV_CONF = 512 # Remote Inventory Configuration\n\ 00221 uint32 MASK_ANT_CONF = 1024 # Antenna Configuration\n\ 00222 \n\ 00223 uint8 deviceMask # Mask which selects the devices for this command\n\ 00224 uint8 DEV_BBR = 1 # device battery backed RAM\n\ 00225 uint8 DEV_FLASH = 2 # device Flash\n\ 00226 uint8 DEV_EEPROM = 4 # device EEPROM\n\ 00227 uint8 DEV_SPI_FLASH = 16 # device SPI Flash\n\ 00228 \n\ 00229 "; 00230 } 00231 00232 static const char* value(const ::ublox_msgs::CfgCFG_<ContainerAllocator> &) { return value(); } 00233 }; 00234 00235 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::CfgCFG_<ContainerAllocator> > : public TrueType {}; 00236 } // namespace message_traits 00237 } // namespace ros 00238 00239 namespace ros 00240 { 00241 namespace serialization 00242 { 00243 00244 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::CfgCFG_<ContainerAllocator> > 00245 { 00246 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00247 { 00248 stream.next(m.clearMask); 00249 stream.next(m.saveMask); 00250 stream.next(m.loadMask); 00251 stream.next(m.deviceMask); 00252 } 00253 00254 ROS_DECLARE_ALLINONE_SERIALIZER; 00255 }; // struct CfgCFG_ 00256 } // namespace serialization 00257 } // namespace ros 00258 00259 namespace ros 00260 { 00261 namespace message_operations 00262 { 00263 00264 template<class ContainerAllocator> 00265 struct Printer< ::ublox_msgs::CfgCFG_<ContainerAllocator> > 00266 { 00267 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::CfgCFG_<ContainerAllocator> & v) 00268 { 00269 s << indent << "clearMask: "; 00270 Printer<uint32_t>::stream(s, indent + " ", v.clearMask); 00271 s << indent << "saveMask: "; 00272 Printer<uint32_t>::stream(s, indent + " ", v.saveMask); 00273 s << indent << "loadMask: "; 00274 Printer<uint32_t>::stream(s, indent + " ", v.loadMask); 00275 s << indent << "deviceMask: "; 00276 Printer<uint8_t>::stream(s, indent + " ", v.deviceMask); 00277 } 00278 }; 00279 00280 00281 } // namespace message_operations 00282 } // namespace ros 00283 00284 #endif // UBLOX_MSGS_MESSAGE_CFGCFG_H 00285