$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-applanix_driver/doc_stacks/2013-03-01_14-05-02.457261/applanix_driver/applanix_msgs/msg/AidingSensorIntegrationControl.msg */ 00002 #ifndef APPLANIX_MSGS_MESSAGE_AIDINGSENSORINTEGRATIONCONTROL_H 00003 #define APPLANIX_MSGS_MESSAGE_AIDINGSENSORINTEGRATIONCONTROL_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 applanix_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct AidingSensorIntegrationControl_ { 00022 typedef AidingSensorIntegrationControl_<ContainerAllocator> Type; 00023 00024 AidingSensorIntegrationControl_() 00025 : transaction(0) 00026 , override(0) 00027 { 00028 } 00029 00030 AidingSensorIntegrationControl_(const ContainerAllocator& _alloc) 00031 : transaction(0) 00032 , override(0) 00033 { 00034 } 00035 00036 typedef uint16_t _transaction_type; 00037 uint16_t transaction; 00038 00039 typedef uint32_t _override_type; 00040 uint32_t override; 00041 00042 enum { OVERRIDE_FORCE_PRIMARY_GNSS_VALID = 1 }; 00043 enum { OVERRIDE_FORCE_PRIMARY_GNSS_INVALID = 2 }; 00044 enum { OVERRIDE_FORCE_AUX_GNSS_VALID = 4 }; 00045 enum { OVERRIDE_FORCE_AUX_GNSS_INVALID = 8 }; 00046 enum { OVERRIDE_DISABLE_GAMS_HEADING_AIDING = 16 }; 00047 enum { OVERRIDE_FORCE_DMI_VALID = 32 }; 00048 enum { OVERRIDE_FORCE_DMI_INVALID = 64 }; 00049 enum { OVERRIDE_DISABLE_YZ_VELOCITY_AIDING = 128 }; 00050 00051 private: 00052 static const char* __s_getDataType_() { return "applanix_msgs/AidingSensorIntegrationControl"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "aa768b4fd931539b13e67337f33cf90c"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# Msg 93\n\ 00067 uint16 transaction\n\ 00068 \n\ 00069 uint32 OVERRIDE_FORCE_PRIMARY_GNSS_VALID=1\n\ 00070 uint32 OVERRIDE_FORCE_PRIMARY_GNSS_INVALID=2\n\ 00071 uint32 OVERRIDE_FORCE_AUX_GNSS_VALID=4\n\ 00072 uint32 OVERRIDE_FORCE_AUX_GNSS_INVALID=8\n\ 00073 uint32 OVERRIDE_DISABLE_GAMS_HEADING_AIDING=16\n\ 00074 uint32 OVERRIDE_FORCE_DMI_VALID=32\n\ 00075 uint32 OVERRIDE_FORCE_DMI_INVALID=64\n\ 00076 uint32 OVERRIDE_DISABLE_YZ_VELOCITY_AIDING=128\n\ 00077 uint32 override\n\ 00078 \n\ 00079 "; } 00080 public: 00081 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00082 00083 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00084 00085 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00086 { 00087 ros::serialization::OStream stream(write_ptr, 1000000000); 00088 ros::serialization::serialize(stream, transaction); 00089 ros::serialization::serialize(stream, override); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00094 { 00095 ros::serialization::IStream stream(read_ptr, 1000000000); 00096 ros::serialization::deserialize(stream, transaction); 00097 ros::serialization::deserialize(stream, override); 00098 return stream.getData(); 00099 } 00100 00101 ROS_DEPRECATED virtual uint32_t serializationLength() const 00102 { 00103 uint32_t size = 0; 00104 size += ros::serialization::serializationLength(transaction); 00105 size += ros::serialization::serializationLength(override); 00106 return size; 00107 } 00108 00109 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > Ptr; 00110 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> const> ConstPtr; 00111 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00112 }; // struct AidingSensorIntegrationControl 00113 typedef ::applanix_msgs::AidingSensorIntegrationControl_<std::allocator<void> > AidingSensorIntegrationControl; 00114 00115 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl> AidingSensorIntegrationControlPtr; 00116 typedef boost::shared_ptr< ::applanix_msgs::AidingSensorIntegrationControl const> AidingSensorIntegrationControlConstPtr; 00117 00118 00119 template<typename ContainerAllocator> 00120 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> & v) 00121 { 00122 ros::message_operations::Printer< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> >::stream(s, "", v); 00123 return s;} 00124 00125 } // namespace applanix_msgs 00126 00127 namespace ros 00128 { 00129 namespace message_traits 00130 { 00131 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > : public TrueType {}; 00132 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> const> : public TrueType {}; 00133 template<class ContainerAllocator> 00134 struct MD5Sum< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > { 00135 static const char* value() 00136 { 00137 return "aa768b4fd931539b13e67337f33cf90c"; 00138 } 00139 00140 static const char* value(const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> &) { return value(); } 00141 static const uint64_t static_value1 = 0xaa768b4fd931539bULL; 00142 static const uint64_t static_value2 = 0x13e67337f33cf90cULL; 00143 }; 00144 00145 template<class ContainerAllocator> 00146 struct DataType< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "applanix_msgs/AidingSensorIntegrationControl"; 00150 } 00151 00152 static const char* value(const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> &) { return value(); } 00153 }; 00154 00155 template<class ContainerAllocator> 00156 struct Definition< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > { 00157 static const char* value() 00158 { 00159 return "# Msg 93\n\ 00160 uint16 transaction\n\ 00161 \n\ 00162 uint32 OVERRIDE_FORCE_PRIMARY_GNSS_VALID=1\n\ 00163 uint32 OVERRIDE_FORCE_PRIMARY_GNSS_INVALID=2\n\ 00164 uint32 OVERRIDE_FORCE_AUX_GNSS_VALID=4\n\ 00165 uint32 OVERRIDE_FORCE_AUX_GNSS_INVALID=8\n\ 00166 uint32 OVERRIDE_DISABLE_GAMS_HEADING_AIDING=16\n\ 00167 uint32 OVERRIDE_FORCE_DMI_VALID=32\n\ 00168 uint32 OVERRIDE_FORCE_DMI_INVALID=64\n\ 00169 uint32 OVERRIDE_DISABLE_YZ_VELOCITY_AIDING=128\n\ 00170 uint32 override\n\ 00171 \n\ 00172 "; 00173 } 00174 00175 static const char* value(const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> &) { return value(); } 00176 }; 00177 00178 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > : public TrueType {}; 00179 } // namespace message_traits 00180 } // namespace ros 00181 00182 namespace ros 00183 { 00184 namespace serialization 00185 { 00186 00187 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > 00188 { 00189 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00190 { 00191 stream.next(m.transaction); 00192 stream.next(m.override); 00193 } 00194 00195 ROS_DECLARE_ALLINONE_SERIALIZER; 00196 }; // struct AidingSensorIntegrationControl_ 00197 } // namespace serialization 00198 } // namespace ros 00199 00200 namespace ros 00201 { 00202 namespace message_operations 00203 { 00204 00205 template<class ContainerAllocator> 00206 struct Printer< ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> > 00207 { 00208 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::AidingSensorIntegrationControl_<ContainerAllocator> & v) 00209 { 00210 s << indent << "transaction: "; 00211 Printer<uint16_t>::stream(s, indent + " ", v.transaction); 00212 s << indent << "override: "; 00213 Printer<uint32_t>::stream(s, indent + " ", v.override); 00214 } 00215 }; 00216 00217 00218 } // namespace message_operations 00219 } // namespace ros 00220 00221 #endif // APPLANIX_MSGS_MESSAGE_AIDINGSENSORINTEGRATIONCONTROL_H 00222