GeoPose.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-geographic_info/doc_stacks/2014-10-06_00-07-40.982211/geographic_info/geographic_msgs/msg/GeoPose.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_GEOPOSE_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_GEOPOSE_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 "geographic_msgs/GeoPoint.h"
00018 #include "geometry_msgs/Quaternion.h"
00019 
00020 namespace geographic_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct GeoPose_ {
00024   typedef GeoPose_<ContainerAllocator> Type;
00025 
00026   GeoPose_()
00027   : position()
00028   , orientation()
00029   {
00030   }
00031 
00032   GeoPose_(const ContainerAllocator& _alloc)
00033   : position(_alloc)
00034   , orientation(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::geographic_msgs::GeoPoint_<ContainerAllocator>  _position_type;
00039    ::geographic_msgs::GeoPoint_<ContainerAllocator>  position;
00040 
00041   typedef  ::geometry_msgs::Quaternion_<ContainerAllocator>  _orientation_type;
00042    ::geometry_msgs::Quaternion_<ContainerAllocator>  orientation;
00043 
00044 
00045   typedef boost::shared_ptr< ::geographic_msgs::GeoPose_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::geographic_msgs::GeoPose_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct GeoPose
00049 typedef  ::geographic_msgs::GeoPose_<std::allocator<void> > GeoPose;
00050 
00051 typedef boost::shared_ptr< ::geographic_msgs::GeoPose> GeoPosePtr;
00052 typedef boost::shared_ptr< ::geographic_msgs::GeoPose const> GeoPoseConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::GeoPose_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::geographic_msgs::GeoPose_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace geographic_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GeoPose_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GeoPose_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::geographic_msgs::GeoPose_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "778680b5172de58b7c057d973576c784";
00074   }
00075 
00076   static const char* value(const  ::geographic_msgs::GeoPose_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x778680b5172de58bULL;
00078   static const uint64_t static_value2 = 0x7c057d973576c784ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::geographic_msgs::GeoPose_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "geographic_msgs/GeoPose";
00086   }
00087 
00088   static const char* value(const  ::geographic_msgs::GeoPose_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::geographic_msgs::GeoPose_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# Geographic pose, using the WGS 84 reference ellipsoid.\n\
00096 #\n\
00097 # Orientation uses the East-North-Up (ENU) frame of reference.\n\
00098 # (But, what about singularities at the poles?)\n\
00099 \n\
00100 GeoPoint position\n\
00101 geometry_msgs/Quaternion orientation\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: geographic_msgs/GeoPoint\n\
00105 # Geographic point, using the WGS 84 reference ellipsoid.\n\
00106 \n\
00107 # Latitude [degrees]. Positive is north of equator; negative is south\n\
00108 # (-90 <= latitude <= +90).\n\
00109 float64 latitude\n\
00110 \n\
00111 # Longitude [degrees]. Positive is east of prime meridian; negative is\n\
00112 # west (-180 <= longitude <= +180). At the poles, latitude is -90 or\n\
00113 # +90, and longitude is irrelevant, but must be in range.\n\
00114 float64 longitude\n\
00115 \n\
00116 # Altitude [m]. Positive is above the WGS 84 ellipsoid (NaN if unspecified).\n\
00117 float64 altitude\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: geometry_msgs/Quaternion\n\
00121 # This represents an orientation in free space in quaternion form.\n\
00122 \n\
00123 float64 x\n\
00124 float64 y\n\
00125 float64 z\n\
00126 float64 w\n\
00127 \n\
00128 ";
00129   }
00130 
00131   static const char* value(const  ::geographic_msgs::GeoPose_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 template<class ContainerAllocator> struct IsFixedSize< ::geographic_msgs::GeoPose_<ContainerAllocator> > : public TrueType {};
00135 } // namespace message_traits
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace serialization
00141 {
00142 
00143 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::GeoPose_<ContainerAllocator> >
00144 {
00145   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00146   {
00147     stream.next(m.position);
00148     stream.next(m.orientation);
00149   }
00150 
00151   ROS_DECLARE_ALLINONE_SERIALIZER;
00152 }; // struct GeoPose_
00153 } // namespace serialization
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace message_operations
00159 {
00160 
00161 template<class ContainerAllocator>
00162 struct Printer< ::geographic_msgs::GeoPose_<ContainerAllocator> >
00163 {
00164   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::GeoPose_<ContainerAllocator> & v) 
00165   {
00166     s << indent << "position: ";
00167 s << std::endl;
00168     Printer< ::geographic_msgs::GeoPoint_<ContainerAllocator> >::stream(s, indent + "  ", v.position);
00169     s << indent << "orientation: ";
00170 s << std::endl;
00171     Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + "  ", v.orientation);
00172   }
00173 };
00174 
00175 
00176 } // namespace message_operations
00177 } // namespace ros
00178 
00179 #endif // GEOGRAPHIC_MSGS_MESSAGE_GEOPOSE_H
00180 


geographic_msgs
Author(s): Jack O'Quin
autogenerated on Mon Oct 6 2014 00:09:26