Go to the documentation of this file.00001
00002 #ifndef COVERAGE_3D_TOOLS_MESSAGE_CLEANPATHREACHABILITY_H
00003 #define COVERAGE_3D_TOOLS_MESSAGE_CLEANPATHREACHABILITY_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 "geometry_msgs/PoseStamped.h"
00018
00019 namespace coverage_3d_tools
00020 {
00021 template <class ContainerAllocator>
00022 struct CleanPathReachability_ {
00023 typedef CleanPathReachability_<ContainerAllocator> Type;
00024
00025 CleanPathReachability_()
00026 : pose()
00027 , reachability()
00028 {
00029 }
00030
00031 CleanPathReachability_(const ContainerAllocator& _alloc)
00032 : pose(_alloc)
00033 , reachability(_alloc)
00034 {
00035 }
00036
00037 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00038 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00039
00040 typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > _reachability_type;
00041 std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > reachability;
00042
00043
00044 typedef boost::shared_ptr< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::coverage_3d_tools::CleanPathReachability_<std::allocator<void> > CleanPathReachability;
00049
00050 typedef boost::shared_ptr< ::coverage_3d_tools::CleanPathReachability> CleanPathReachabilityPtr;
00051 typedef boost::shared_ptr< ::coverage_3d_tools::CleanPathReachability const> CleanPathReachabilityConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "707bd1fb2ca0bdcb6d70a89715f9112f";
00073 }
00074
00075 static const char* value(const ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0x707bd1fb2ca0bdcbULL;
00077 static const uint64_t static_value2 = 0x6d70a89715f9112fULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "coverage_3d_tools/CleanPathReachability";
00085 }
00086
00087 static const char* value(const ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "geometry_msgs/PoseStamped pose\n\
00095 uint32[] reachability\n\
00096 ================================================================================\n\
00097 MSG: geometry_msgs/PoseStamped\n\
00098 # A Pose with reference coordinate frame and timestamp\n\
00099 Header header\n\
00100 Pose pose\n\
00101 \n\
00102 ================================================================================\n\
00103 MSG: std_msgs/Header\n\
00104 # Standard metadata for higher-level stamped data types.\n\
00105 # This is generally used to communicate timestamped data \n\
00106 # in a particular coordinate frame.\n\
00107 # \n\
00108 # sequence ID: consecutively increasing ID \n\
00109 uint32 seq\n\
00110 #Two-integer timestamp that is expressed as:\n\
00111 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00112 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00113 # time-handling sugar is provided by the client library\n\
00114 time stamp\n\
00115 #Frame this data is associated with\n\
00116 # 0: no frame\n\
00117 # 1: global frame\n\
00118 string frame_id\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: geometry_msgs/Pose\n\
00122 # A representation of pose in free space, composed of postion and orientation. \n\
00123 Point position\n\
00124 Quaternion orientation\n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: geometry_msgs/Point\n\
00128 # This contains the position of a point in free space\n\
00129 float64 x\n\
00130 float64 y\n\
00131 float64 z\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/Quaternion\n\
00135 # This represents an orientation in free space in quaternion form.\n\
00136 \n\
00137 float64 x\n\
00138 float64 y\n\
00139 float64 z\n\
00140 float64 w\n\
00141 \n\
00142 ";
00143 }
00144
00145 static const char* value(const ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> &) { return value(); }
00146 };
00147
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155
00156 template<class ContainerAllocator> struct Serializer< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> >
00157 {
00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159 {
00160 stream.next(m.pose);
00161 stream.next(m.reachability);
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< ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> >
00176 {
00177 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::coverage_3d_tools::CleanPathReachability_<ContainerAllocator> & v)
00178 {
00179 s << indent << "pose: ";
00180 s << std::endl;
00181 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00182 s << indent << "reachability[]" << std::endl;
00183 for (size_t i = 0; i < v.reachability.size(); ++i)
00184 {
00185 s << indent << " reachability[" << i << "]: ";
00186 Printer<uint32_t>::stream(s, indent + " ", v.reachability[i]);
00187 }
00188 }
00189 };
00190
00191
00192 }
00193 }
00194
00195 #endif // COVERAGE_3D_TOOLS_MESSAGE_CLEANPATHREACHABILITY_H
00196