$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/RawPPS.msg */ 00002 #ifndef APPLANIX_MSGS_MESSAGE_RAWPPS_H 00003 #define APPLANIX_MSGS_MESSAGE_RAWPPS_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 #include "applanix_msgs/TimeDistance.h" 00018 00019 namespace applanix_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct RawPPS_ { 00023 typedef RawPPS_<ContainerAllocator> Type; 00024 00025 RawPPS_() 00026 : td() 00027 , pps_count(0) 00028 { 00029 } 00030 00031 RawPPS_(const ContainerAllocator& _alloc) 00032 : td(_alloc) 00033 , pps_count(0) 00034 { 00035 } 00036 00037 typedef ::applanix_msgs::TimeDistance_<ContainerAllocator> _td_type; 00038 ::applanix_msgs::TimeDistance_<ContainerAllocator> td; 00039 00040 typedef uint32_t _pps_count_type; 00041 uint32_t pps_count; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "applanix_msgs/RawPPS"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "e33ff36fd1530481fcda257606892512"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "# Group 10003\n\ 00060 TimeDistance td\n\ 00061 uint32 pps_count\n\ 00062 \n\ 00063 ================================================================================\n\ 00064 MSG: applanix_msgs/TimeDistance\n\ 00065 float64 time1\n\ 00066 float64 time2\n\ 00067 float64 distance\n\ 00068 uint8 time_types\n\ 00069 uint8 distance_type\n\ 00070 \n\ 00071 "; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00078 { 00079 ros::serialization::OStream stream(write_ptr, 1000000000); 00080 ros::serialization::serialize(stream, td); 00081 ros::serialization::serialize(stream, pps_count); 00082 return stream.getData(); 00083 } 00084 00085 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00086 { 00087 ros::serialization::IStream stream(read_ptr, 1000000000); 00088 ros::serialization::deserialize(stream, td); 00089 ros::serialization::deserialize(stream, pps_count); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint32_t serializationLength() const 00094 { 00095 uint32_t size = 0; 00096 size += ros::serialization::serializationLength(td); 00097 size += ros::serialization::serializationLength(pps_count); 00098 return size; 00099 } 00100 00101 typedef boost::shared_ptr< ::applanix_msgs::RawPPS_<ContainerAllocator> > Ptr; 00102 typedef boost::shared_ptr< ::applanix_msgs::RawPPS_<ContainerAllocator> const> ConstPtr; 00103 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00104 }; // struct RawPPS 00105 typedef ::applanix_msgs::RawPPS_<std::allocator<void> > RawPPS; 00106 00107 typedef boost::shared_ptr< ::applanix_msgs::RawPPS> RawPPSPtr; 00108 typedef boost::shared_ptr< ::applanix_msgs::RawPPS const> RawPPSConstPtr; 00109 00110 00111 template<typename ContainerAllocator> 00112 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::RawPPS_<ContainerAllocator> & v) 00113 { 00114 ros::message_operations::Printer< ::applanix_msgs::RawPPS_<ContainerAllocator> >::stream(s, "", v); 00115 return s;} 00116 00117 } // namespace applanix_msgs 00118 00119 namespace ros 00120 { 00121 namespace message_traits 00122 { 00123 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::RawPPS_<ContainerAllocator> > : public TrueType {}; 00124 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::RawPPS_<ContainerAllocator> const> : public TrueType {}; 00125 template<class ContainerAllocator> 00126 struct MD5Sum< ::applanix_msgs::RawPPS_<ContainerAllocator> > { 00127 static const char* value() 00128 { 00129 return "e33ff36fd1530481fcda257606892512"; 00130 } 00131 00132 static const char* value(const ::applanix_msgs::RawPPS_<ContainerAllocator> &) { return value(); } 00133 static const uint64_t static_value1 = 0xe33ff36fd1530481ULL; 00134 static const uint64_t static_value2 = 0xfcda257606892512ULL; 00135 }; 00136 00137 template<class ContainerAllocator> 00138 struct DataType< ::applanix_msgs::RawPPS_<ContainerAllocator> > { 00139 static const char* value() 00140 { 00141 return "applanix_msgs/RawPPS"; 00142 } 00143 00144 static const char* value(const ::applanix_msgs::RawPPS_<ContainerAllocator> &) { return value(); } 00145 }; 00146 00147 template<class ContainerAllocator> 00148 struct Definition< ::applanix_msgs::RawPPS_<ContainerAllocator> > { 00149 static const char* value() 00150 { 00151 return "# Group 10003\n\ 00152 TimeDistance td\n\ 00153 uint32 pps_count\n\ 00154 \n\ 00155 ================================================================================\n\ 00156 MSG: applanix_msgs/TimeDistance\n\ 00157 float64 time1\n\ 00158 float64 time2\n\ 00159 float64 distance\n\ 00160 uint8 time_types\n\ 00161 uint8 distance_type\n\ 00162 \n\ 00163 "; 00164 } 00165 00166 static const char* value(const ::applanix_msgs::RawPPS_<ContainerAllocator> &) { return value(); } 00167 }; 00168 00169 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::RawPPS_<ContainerAllocator> > : public TrueType {}; 00170 } // namespace message_traits 00171 } // namespace ros 00172 00173 namespace ros 00174 { 00175 namespace serialization 00176 { 00177 00178 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::RawPPS_<ContainerAllocator> > 00179 { 00180 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00181 { 00182 stream.next(m.td); 00183 stream.next(m.pps_count); 00184 } 00185 00186 ROS_DECLARE_ALLINONE_SERIALIZER; 00187 }; // struct RawPPS_ 00188 } // namespace serialization 00189 } // namespace ros 00190 00191 namespace ros 00192 { 00193 namespace message_operations 00194 { 00195 00196 template<class ContainerAllocator> 00197 struct Printer< ::applanix_msgs::RawPPS_<ContainerAllocator> > 00198 { 00199 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::RawPPS_<ContainerAllocator> & v) 00200 { 00201 s << indent << "td: "; 00202 s << std::endl; 00203 Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, indent + " ", v.td); 00204 s << indent << "pps_count: "; 00205 Printer<uint32_t>::stream(s, indent + " ", v.pps_count); 00206 } 00207 }; 00208 00209 00210 } // namespace message_operations 00211 } // namespace ros 00212 00213 #endif // APPLANIX_MSGS_MESSAGE_RAWPPS_H 00214