GeographicMapChanges.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/GeographicMapChanges.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_GEOGRAPHICMAPCHANGES_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_GEOGRAPHICMAPCHANGES_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 "std_msgs/Header.h"
00018 #include "geographic_msgs/GeographicMap.h"
00019 #include "uuid_msgs/UniqueID.h"
00020 
00021 namespace geographic_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct GeographicMapChanges_ {
00025   typedef GeographicMapChanges_<ContainerAllocator> Type;
00026 
00027   GeographicMapChanges_()
00028   : header()
00029   , diffs()
00030   , deletes()
00031   {
00032   }
00033 
00034   GeographicMapChanges_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , diffs(_alloc)
00037   , deletes(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::geographic_msgs::GeographicMap_<ContainerAllocator>  _diffs_type;
00045    ::geographic_msgs::GeographicMap_<ContainerAllocator>  diffs;
00046 
00047   typedef std::vector< ::uuid_msgs::UniqueID_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uuid_msgs::UniqueID_<ContainerAllocator> >::other >  _deletes_type;
00048   std::vector< ::uuid_msgs::UniqueID_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uuid_msgs::UniqueID_<ContainerAllocator> >::other >  deletes;
00049 
00050 
00051   typedef boost::shared_ptr< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct GeographicMapChanges
00055 typedef  ::geographic_msgs::GeographicMapChanges_<std::allocator<void> > GeographicMapChanges;
00056 
00057 typedef boost::shared_ptr< ::geographic_msgs::GeographicMapChanges> GeographicMapChangesPtr;
00058 typedef boost::shared_ptr< ::geographic_msgs::GeographicMapChanges const> GeographicMapChangesConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace geographic_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "4fd027f54298203ec12aa1c4b20e6cb8";
00080   }
00081 
00082   static const char* value(const  ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x4fd027f54298203eULL;
00084   static const uint64_t static_value2 = 0xc12aa1c4b20e6cb8ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "geographic_msgs/GeographicMapChanges";
00092   }
00093 
00094   static const char* value(const  ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# A list of geographic map changes.\n\
00102 \n\
00103 Header header                   # stamp specifies time of change\n\
00104                                 # frame_id (normally /map)\n\
00105 \n\
00106 GeographicMap diffs             # new and changed points and features\n\
00107 uuid_msgs/UniqueID[] deletes    # deleted map components\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: std_msgs/Header\n\
00111 # Standard metadata for higher-level stamped data types.\n\
00112 # This is generally used to communicate timestamped data \n\
00113 # in a particular coordinate frame.\n\
00114 # \n\
00115 # sequence ID: consecutively increasing ID \n\
00116 uint32 seq\n\
00117 #Two-integer timestamp that is expressed as:\n\
00118 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00119 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00120 # time-handling sugar is provided by the client library\n\
00121 time stamp\n\
00122 #Frame this data is associated with\n\
00123 # 0: no frame\n\
00124 # 1: global frame\n\
00125 string frame_id\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: geographic_msgs/GeographicMap\n\
00129 # Geographic map for a specified region.\n\
00130 \n\
00131 Header header            # stamp specifies time\n\
00132                          # frame_id (normally /map)\n\
00133 \n\
00134 uuid_msgs/UniqueID id    # identifier for this map\n\
00135 BoundingBox  bounds      # 2D bounding box containing map\n\
00136 \n\
00137 WayPoint[]   points      # way-points\n\
00138 MapFeature[] features    # map features\n\
00139 KeyValue[]   props       # map properties\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: uuid_msgs/UniqueID\n\
00143 # A universally unique identifier (UUID).\n\
00144 #\n\
00145 #  http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00146 #  http://tools.ietf.org/html/rfc4122.html\n\
00147 \n\
00148 uint8[16] uuid\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: geographic_msgs/BoundingBox\n\
00152 # Geographic map bounding box. \n\
00153 #\n\
00154 # The two GeoPoints denote diagonally opposite corners of the box.\n\
00155 #\n\
00156 # If min_pt.latitude is NaN, the bounding box is \"global\", matching\n\
00157 # any valid latitude, longitude and altitude.\n\
00158 #\n\
00159 # If min_pt.altitude is NaN, the bounding box is two-dimensional and\n\
00160 # matches any altitude within the specified latitude and longitude\n\
00161 # range.\n\
00162 \n\
00163 GeoPoint min_pt         # lowest and most Southwestern corner\n\
00164 GeoPoint max_pt         # highest and most Northeastern corner\n\
00165 \n\
00166 ================================================================================\n\
00167 MSG: geographic_msgs/GeoPoint\n\
00168 # Geographic point, using the WGS 84 reference ellipsoid.\n\
00169 \n\
00170 # Latitude [degrees]. Positive is north of equator; negative is south\n\
00171 # (-90 <= latitude <= +90).\n\
00172 float64 latitude\n\
00173 \n\
00174 # Longitude [degrees]. Positive is east of prime meridian; negative is\n\
00175 # west (-180 <= longitude <= +180). At the poles, latitude is -90 or\n\
00176 # +90, and longitude is irrelevant, but must be in range.\n\
00177 float64 longitude\n\
00178 \n\
00179 # Altitude [m]. Positive is above the WGS 84 ellipsoid (NaN if unspecified).\n\
00180 float64 altitude\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: geographic_msgs/WayPoint\n\
00184 # Way-point element for a geographic map.\n\
00185 \n\
00186 uuid_msgs/UniqueID id   # Unique way-point identifier\n\
00187 GeoPoint   position     # Position relative to WGS 84 ellipsoid\n\
00188 KeyValue[] props        # Key/value properties for this point\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: geographic_msgs/KeyValue\n\
00192 # Geographic map tag (key, value) pair\n\
00193 #\n\
00194 # This is equivalent to diagnostic_msgs/KeyValue, repeated here to\n\
00195 # avoid introducing a trivial stack dependency.\n\
00196 \n\
00197 string key                     # tag label\n\
00198 string value                   # corresponding value\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: geographic_msgs/MapFeature\n\
00202 # Geographic map feature.\n\
00203 #\n\
00204 # A list of WayPoint IDs for features like streets, highways, hiking\n\
00205 # trails, the outlines of buildings and parking lots in sequential\n\
00206 # order.\n\
00207 #\n\
00208 # Feature lists may also contain other feature lists as members.\n\
00209 \n\
00210 uuid_msgs/UniqueID   id         # Unique feature identifier\n\
00211 uuid_msgs/UniqueID[] components # Sequence of feature components\n\
00212 KeyValue[] props                # Key/value properties for this feature\n\
00213 \n\
00214 ";
00215   }
00216 
00217   static const char* value(const  ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> &) { return value(); } 
00218 };
00219 
00220 template<class ContainerAllocator> struct HasHeader< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> > : public TrueType {};
00221 template<class ContainerAllocator> struct HasHeader< const ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> > : public TrueType {};
00222 } // namespace message_traits
00223 } // namespace ros
00224 
00225 namespace ros
00226 {
00227 namespace serialization
00228 {
00229 
00230 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> >
00231 {
00232   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00233   {
00234     stream.next(m.header);
00235     stream.next(m.diffs);
00236     stream.next(m.deletes);
00237   }
00238 
00239   ROS_DECLARE_ALLINONE_SERIALIZER;
00240 }; // struct GeographicMapChanges_
00241 } // namespace serialization
00242 } // namespace ros
00243 
00244 namespace ros
00245 {
00246 namespace message_operations
00247 {
00248 
00249 template<class ContainerAllocator>
00250 struct Printer< ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> >
00251 {
00252   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::GeographicMapChanges_<ContainerAllocator> & v) 
00253   {
00254     s << indent << "header: ";
00255 s << std::endl;
00256     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00257     s << indent << "diffs: ";
00258 s << std::endl;
00259     Printer< ::geographic_msgs::GeographicMap_<ContainerAllocator> >::stream(s, indent + "  ", v.diffs);
00260     s << indent << "deletes[]" << std::endl;
00261     for (size_t i = 0; i < v.deletes.size(); ++i)
00262     {
00263       s << indent << "  deletes[" << i << "]: ";
00264       s << std::endl;
00265       s << indent;
00266       Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "    ", v.deletes[i]);
00267     }
00268   }
00269 };
00270 
00271 
00272 } // namespace message_operations
00273 } // namespace ros
00274 
00275 #endif // GEOGRAPHIC_MSGS_MESSAGE_GEOGRAPHICMAPCHANGES_H
00276 


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