$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/InstallationCalibrationControl.msg */ 00002 #ifndef APPLANIX_MSGS_MESSAGE_INSTALLATIONCALIBRATIONCONTROL_H 00003 #define APPLANIX_MSGS_MESSAGE_INSTALLATIONCALIBRATIONCONTROL_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 InstallationCalibrationControl_ { 00022 typedef InstallationCalibrationControl_<ContainerAllocator> Type; 00023 00024 InstallationCalibrationControl_() 00025 : transaction(0) 00026 , action(0) 00027 , select(0) 00028 { 00029 } 00030 00031 InstallationCalibrationControl_(const ContainerAllocator& _alloc) 00032 : transaction(0) 00033 , action(0) 00034 , select(0) 00035 { 00036 } 00037 00038 typedef uint16_t _transaction_type; 00039 uint16_t transaction; 00040 00041 typedef uint8_t _action_type; 00042 uint8_t action; 00043 00044 typedef uint8_t _select_type; 00045 uint8_t select; 00046 00047 enum { ACTION_NONE = 0 }; 00048 enum { ACTION_STOP = 1 }; 00049 enum { ACTION_MANUAL_CALIBRATION = 2 }; 00050 enum { ACTION_AUTO_CALIBRATION = 3 }; 00051 enum { ACTION_NORMAL_CALIBRATED_PARAM_TRANSFER = 4 }; 00052 enum { ACTION_FORCED_CALIBRATED_PARAM_TRANSFER = 5 }; 00053 enum { SELECT_PRIMARY_GNSS_LEVER_ARM = 1 }; 00054 enum { SELECT_AUX_1_GNSS_LEVER_ARM = 2 }; 00055 enum { SELECT_AUX_2_GNSS_LEVER_ARM = 4 }; 00056 enum { SELECT_DMI_LEVER_ARM = 8 }; 00057 enum { SELECT_DMI_SCALE_FACTOR = 16 }; 00058 enum { SELECT_POSITION_FIX_LEVER_ARM = 64 }; 00059 00060 private: 00061 static const char* __s_getDataType_() { return "applanix_msgs/InstallationCalibrationControl"; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00064 00065 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00066 00067 private: 00068 static const char* __s_getMD5Sum_() { return "38570f4fc018a153e76cdbbb5df7679e"; } 00069 public: 00070 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00071 00072 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00073 00074 private: 00075 static const char* __s_getMessageDefinition_() { return "# Msg 57\n\ 00076 uint16 transaction\n\ 00077 \n\ 00078 uint8 ACTION_NONE=0\n\ 00079 uint8 ACTION_STOP=1\n\ 00080 uint8 ACTION_MANUAL_CALIBRATION=2\n\ 00081 uint8 ACTION_AUTO_CALIBRATION=3\n\ 00082 uint8 ACTION_NORMAL_CALIBRATED_PARAM_TRANSFER=4\n\ 00083 uint8 ACTION_FORCED_CALIBRATED_PARAM_TRANSFER=5\n\ 00084 uint8 action\n\ 00085 \n\ 00086 uint8 SELECT_PRIMARY_GNSS_LEVER_ARM=1\n\ 00087 uint8 SELECT_AUX_1_GNSS_LEVER_ARM=2\n\ 00088 uint8 SELECT_AUX_2_GNSS_LEVER_ARM=4\n\ 00089 uint8 SELECT_DMI_LEVER_ARM=8\n\ 00090 uint8 SELECT_DMI_SCALE_FACTOR=16\n\ 00091 uint8 SELECT_POSITION_FIX_LEVER_ARM=64\n\ 00092 uint8 select\n\ 00093 \n\ 00094 "; } 00095 public: 00096 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00097 00098 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00099 00100 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00101 { 00102 ros::serialization::OStream stream(write_ptr, 1000000000); 00103 ros::serialization::serialize(stream, transaction); 00104 ros::serialization::serialize(stream, action); 00105 ros::serialization::serialize(stream, select); 00106 return stream.getData(); 00107 } 00108 00109 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00110 { 00111 ros::serialization::IStream stream(read_ptr, 1000000000); 00112 ros::serialization::deserialize(stream, transaction); 00113 ros::serialization::deserialize(stream, action); 00114 ros::serialization::deserialize(stream, select); 00115 return stream.getData(); 00116 } 00117 00118 ROS_DEPRECATED virtual uint32_t serializationLength() const 00119 { 00120 uint32_t size = 0; 00121 size += ros::serialization::serializationLength(transaction); 00122 size += ros::serialization::serializationLength(action); 00123 size += ros::serialization::serializationLength(select); 00124 return size; 00125 } 00126 00127 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > Ptr; 00128 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> const> ConstPtr; 00129 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00130 }; // struct InstallationCalibrationControl 00131 typedef ::applanix_msgs::InstallationCalibrationControl_<std::allocator<void> > InstallationCalibrationControl; 00132 00133 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl> InstallationCalibrationControlPtr; 00134 typedef boost::shared_ptr< ::applanix_msgs::InstallationCalibrationControl const> InstallationCalibrationControlConstPtr; 00135 00136 00137 template<typename ContainerAllocator> 00138 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> & v) 00139 { 00140 ros::message_operations::Printer< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> >::stream(s, "", v); 00141 return s;} 00142 00143 } // namespace applanix_msgs 00144 00145 namespace ros 00146 { 00147 namespace message_traits 00148 { 00149 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > : public TrueType {}; 00150 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> const> : public TrueType {}; 00151 template<class ContainerAllocator> 00152 struct MD5Sum< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > { 00153 static const char* value() 00154 { 00155 return "38570f4fc018a153e76cdbbb5df7679e"; 00156 } 00157 00158 static const char* value(const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> &) { return value(); } 00159 static const uint64_t static_value1 = 0x38570f4fc018a153ULL; 00160 static const uint64_t static_value2 = 0xe76cdbbb5df7679eULL; 00161 }; 00162 00163 template<class ContainerAllocator> 00164 struct DataType< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > { 00165 static const char* value() 00166 { 00167 return "applanix_msgs/InstallationCalibrationControl"; 00168 } 00169 00170 static const char* value(const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> &) { return value(); } 00171 }; 00172 00173 template<class ContainerAllocator> 00174 struct Definition< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > { 00175 static const char* value() 00176 { 00177 return "# Msg 57\n\ 00178 uint16 transaction\n\ 00179 \n\ 00180 uint8 ACTION_NONE=0\n\ 00181 uint8 ACTION_STOP=1\n\ 00182 uint8 ACTION_MANUAL_CALIBRATION=2\n\ 00183 uint8 ACTION_AUTO_CALIBRATION=3\n\ 00184 uint8 ACTION_NORMAL_CALIBRATED_PARAM_TRANSFER=4\n\ 00185 uint8 ACTION_FORCED_CALIBRATED_PARAM_TRANSFER=5\n\ 00186 uint8 action\n\ 00187 \n\ 00188 uint8 SELECT_PRIMARY_GNSS_LEVER_ARM=1\n\ 00189 uint8 SELECT_AUX_1_GNSS_LEVER_ARM=2\n\ 00190 uint8 SELECT_AUX_2_GNSS_LEVER_ARM=4\n\ 00191 uint8 SELECT_DMI_LEVER_ARM=8\n\ 00192 uint8 SELECT_DMI_SCALE_FACTOR=16\n\ 00193 uint8 SELECT_POSITION_FIX_LEVER_ARM=64\n\ 00194 uint8 select\n\ 00195 \n\ 00196 "; 00197 } 00198 00199 static const char* value(const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> &) { return value(); } 00200 }; 00201 00202 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > : public TrueType {}; 00203 } // namespace message_traits 00204 } // namespace ros 00205 00206 namespace ros 00207 { 00208 namespace serialization 00209 { 00210 00211 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > 00212 { 00213 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00214 { 00215 stream.next(m.transaction); 00216 stream.next(m.action); 00217 stream.next(m.select); 00218 } 00219 00220 ROS_DECLARE_ALLINONE_SERIALIZER; 00221 }; // struct InstallationCalibrationControl_ 00222 } // namespace serialization 00223 } // namespace ros 00224 00225 namespace ros 00226 { 00227 namespace message_operations 00228 { 00229 00230 template<class ContainerAllocator> 00231 struct Printer< ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> > 00232 { 00233 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::InstallationCalibrationControl_<ContainerAllocator> & v) 00234 { 00235 s << indent << "transaction: "; 00236 Printer<uint16_t>::stream(s, indent + " ", v.transaction); 00237 s << indent << "action: "; 00238 Printer<uint8_t>::stream(s, indent + " ", v.action); 00239 s << indent << "select: "; 00240 Printer<uint8_t>::stream(s, indent + " ", v.select); 00241 } 00242 }; 00243 00244 00245 } // namespace message_operations 00246 } // namespace ros 00247 00248 #endif // APPLANIX_MSGS_MESSAGE_INSTALLATIONCALIBRATIONCONTROL_H 00249