BoundingBox.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/BoundingBox.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_BOUNDINGBOX_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_BOUNDINGBOX_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 "geographic_msgs/GeoPoint.h"
00019 
00020 namespace geographic_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct BoundingBox_ {
00024   typedef BoundingBox_<ContainerAllocator> Type;
00025 
00026   BoundingBox_()
00027   : min_pt()
00028   , max_pt()
00029   {
00030   }
00031 
00032   BoundingBox_(const ContainerAllocator& _alloc)
00033   : min_pt(_alloc)
00034   , max_pt(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::geographic_msgs::GeoPoint_<ContainerAllocator>  _min_pt_type;
00039    ::geographic_msgs::GeoPoint_<ContainerAllocator>  min_pt;
00040 
00041   typedef  ::geographic_msgs::GeoPoint_<ContainerAllocator>  _max_pt_type;
00042    ::geographic_msgs::GeoPoint_<ContainerAllocator>  max_pt;
00043 
00044 
00045   typedef boost::shared_ptr< ::geographic_msgs::BoundingBox_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::geographic_msgs::BoundingBox_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct BoundingBox
00049 typedef  ::geographic_msgs::BoundingBox_<std::allocator<void> > BoundingBox;
00050 
00051 typedef boost::shared_ptr< ::geographic_msgs::BoundingBox> BoundingBoxPtr;
00052 typedef boost::shared_ptr< ::geographic_msgs::BoundingBox const> BoundingBoxConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::BoundingBox_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::geographic_msgs::BoundingBox_<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::BoundingBox_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::BoundingBox_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::geographic_msgs::BoundingBox_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "f62e8b5e390a3ac7603250d46e8f8446";
00074   }
00075 
00076   static const char* value(const  ::geographic_msgs::BoundingBox_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xf62e8b5e390a3ac7ULL;
00078   static const uint64_t static_value2 = 0x603250d46e8f8446ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::geographic_msgs::BoundingBox_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "geographic_msgs/BoundingBox";
00086   }
00087 
00088   static const char* value(const  ::geographic_msgs::BoundingBox_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::geographic_msgs::BoundingBox_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# Geographic map bounding box. \n\
00096 #\n\
00097 # The two GeoPoints denote diagonally opposite corners of the box.\n\
00098 #\n\
00099 # If min_pt.latitude is NaN, the bounding box is \"global\", matching\n\
00100 # any valid latitude, longitude and altitude.\n\
00101 #\n\
00102 # If min_pt.altitude is NaN, the bounding box is two-dimensional and\n\
00103 # matches any altitude within the specified latitude and longitude\n\
00104 # range.\n\
00105 \n\
00106 GeoPoint min_pt         # lowest and most Southwestern corner\n\
00107 GeoPoint max_pt         # highest and most Northeastern corner\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: geographic_msgs/GeoPoint\n\
00111 # Geographic point, using the WGS 84 reference ellipsoid.\n\
00112 \n\
00113 # Latitude [degrees]. Positive is north of equator; negative is south\n\
00114 # (-90 <= latitude <= +90).\n\
00115 float64 latitude\n\
00116 \n\
00117 # Longitude [degrees]. Positive is east of prime meridian; negative is\n\
00118 # west (-180 <= longitude <= +180). At the poles, latitude is -90 or\n\
00119 # +90, and longitude is irrelevant, but must be in range.\n\
00120 float64 longitude\n\
00121 \n\
00122 # Altitude [m]. Positive is above the WGS 84 ellipsoid (NaN if unspecified).\n\
00123 float64 altitude\n\
00124 \n\
00125 ";
00126   }
00127 
00128   static const char* value(const  ::geographic_msgs::BoundingBox_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 template<class ContainerAllocator> struct IsFixedSize< ::geographic_msgs::BoundingBox_<ContainerAllocator> > : public TrueType {};
00132 } // namespace message_traits
00133 } // namespace ros
00134 
00135 namespace ros
00136 {
00137 namespace serialization
00138 {
00139 
00140 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::BoundingBox_<ContainerAllocator> >
00141 {
00142   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00143   {
00144     stream.next(m.min_pt);
00145     stream.next(m.max_pt);
00146   }
00147 
00148   ROS_DECLARE_ALLINONE_SERIALIZER;
00149 }; // struct BoundingBox_
00150 } // namespace serialization
00151 } // namespace ros
00152 
00153 namespace ros
00154 {
00155 namespace message_operations
00156 {
00157 
00158 template<class ContainerAllocator>
00159 struct Printer< ::geographic_msgs::BoundingBox_<ContainerAllocator> >
00160 {
00161   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::BoundingBox_<ContainerAllocator> & v) 
00162   {
00163     s << indent << "min_pt: ";
00164 s << std::endl;
00165     Printer< ::geographic_msgs::GeoPoint_<ContainerAllocator> >::stream(s, indent + "  ", v.min_pt);
00166     s << indent << "max_pt: ";
00167 s << std::endl;
00168     Printer< ::geographic_msgs::GeoPoint_<ContainerAllocator> >::stream(s, indent + "  ", v.max_pt);
00169   }
00170 };
00171 
00172 
00173 } // namespace message_operations
00174 } // namespace ros
00175 
00176 #endif // GEOGRAPHIC_MSGS_MESSAGE_BOUNDINGBOX_H
00177 


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