Go to the documentation of this file.00001
00002 #ifndef APPLANIX_MSGS_MESSAGE_GNSSDGPSSTATIONDATABASE_H
00003 #define APPLANIX_MSGS_MESSAGE_GNSSDGPSSTATIONDATABASE_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 #include "applanix_msgs/GNSSDGPSStation.h"
00019
00020 namespace applanix_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct GNSSDGPSStationDatabase_ {
00024 typedef GNSSDGPSStationDatabase_<ContainerAllocator> Type;
00025
00026 GNSSDGPSStationDatabase_()
00027 : td()
00028 , stations()
00029 {
00030 }
00031
00032 GNSSDGPSStationDatabase_(const ContainerAllocator& _alloc)
00033 : td(_alloc)
00034 , stations(_alloc)
00035 {
00036 }
00037
00038 typedef ::applanix_msgs::TimeDistance_<ContainerAllocator> _td_type;
00039 ::applanix_msgs::TimeDistance_<ContainerAllocator> td;
00040
00041 typedef std::vector< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> >::other > _stations_type;
00042 std::vector< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> >::other > stations;
00043
00044
00045 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::applanix_msgs::GNSSDGPSStationDatabase_<std::allocator<void> > GNSSDGPSStationDatabase;
00050
00051 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStationDatabase> GNSSDGPSStationDatabasePtr;
00052 typedef boost::shared_ptr< ::applanix_msgs::GNSSDGPSStationDatabase const> GNSSDGPSStationDatabaseConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "c954eb8ef0a53b8f04965106e84e8a92";
00074 }
00075
00076 static const char* value(const ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xc954eb8ef0a53b8fULL;
00078 static const uint64_t static_value2 = 0x04965106e84e8a92ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "applanix_msgs/GNSSDGPSStationDatabase";
00086 }
00087
00088 static const char* value(const ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# Group 26\n\
00096 TimeDistance td\n\
00097 \n\
00098 GNSSDGPSStation[] stations\n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: applanix_msgs/TimeDistance\n\
00102 float64 time1\n\
00103 float64 time2\n\
00104 float64 distance\n\
00105 uint8 time_types\n\
00106 uint8 distance_type\n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: applanix_msgs/GNSSDGPSStation\n\
00110 # Part of Group 26\n\
00111 \n\
00112 uint8 FLAGS_SATELLITE=1\n\
00113 uint8 FLAGS_STATION_PROVIDING_CORRECTIONS=2\n\
00114 uint8 FLAGS_STATION_USED_AS_RTCM_SOURCE=4\n\
00115 uint8 FLAGS_OMNISTAR_STATIONS=8\n\
00116 uint8 flags\n\
00117 \n\
00118 uint16 id\n\
00119 uint16 frequency\n\
00120 \n\
00121 uint8 HEALTH_NORMAL=0\n\
00122 uint8 HEALTH_NOT_MONITORED=1\n\
00123 uint8 HEALTH_NO_INFO_AVAILABLE=2\n\
00124 uint8 HEALTH_DO_NOT_USE=3\n\
00125 uint8 health\n\
00126 \n\
00127 float32 distance\n\
00128 float32 range\n\
00129 uint8 uscg_index\n\
00130 uint32 seconds\n\
00131 \n\
00132 uint8 RATE_25BPS=0\n\
00133 uint8 RATE_50BPS=1\n\
00134 uint8 RATE_100BPS=2\n\
00135 uint8 RATE_200BPS=3\n\
00136 uint8 RATE_600BPS=4\n\
00137 uint8 RATE_1200BPS=5\n\
00138 uint8 RATE_2400BPS=6\n\
00139 uint8 RATE_4800BPS=7\n\
00140 uint8 modulation_rate\n\
00141 \n\
00142 ";
00143 }
00144
00145 static const char* value(const ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> &) { return value(); }
00146 };
00147
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155
00156 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> >
00157 {
00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159 {
00160 stream.next(m.td);
00161 stream.next(m.stations);
00162 }
00163
00164 ROS_DECLARE_ALLINONE_SERIALIZER;
00165 };
00166 }
00167 }
00168
00169 namespace ros
00170 {
00171 namespace message_operations
00172 {
00173
00174 template<class ContainerAllocator>
00175 struct Printer< ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> >
00176 {
00177 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::GNSSDGPSStationDatabase_<ContainerAllocator> & v)
00178 {
00179 s << indent << "td: ";
00180 s << std::endl;
00181 Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, indent + " ", v.td);
00182 s << indent << "stations[]" << std::endl;
00183 for (size_t i = 0; i < v.stations.size(); ++i)
00184 {
00185 s << indent << " stations[" << i << "]: ";
00186 s << std::endl;
00187 s << indent;
00188 Printer< ::applanix_msgs::GNSSDGPSStation_<ContainerAllocator> >::stream(s, indent + " ", v.stations[i]);
00189 }
00190 }
00191 };
00192
00193
00194 }
00195 }
00196
00197 #endif // APPLANIX_MSGS_MESSAGE_GNSSDGPSSTATIONDATABASE_H
00198