SlavePoint.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2013-01-23_13-32-20.905780/pr2_object_manipulation/perception/fast_plane_detection/msg/SlavePoint.msg */
00002 #ifndef FAST_PLANE_DETECTION_MESSAGE_SLAVEPOINT_H
00003 #define FAST_PLANE_DETECTION_MESSAGE_SLAVEPOINT_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/Point32.h"
00018 
00019 namespace fast_plane_detection
00020 {
00021 template <class ContainerAllocator>
00022 struct SlavePoint_ {
00023   typedef SlavePoint_<ContainerAllocator> Type;
00024 
00025   SlavePoint_()
00026   : end_effector()
00027   , contact(false)
00028   {
00029   }
00030 
00031   SlavePoint_(const ContainerAllocator& _alloc)
00032   : end_effector(_alloc)
00033   , contact(false)
00034   {
00035   }
00036 
00037   typedef  ::geometry_msgs::Point32_<ContainerAllocator>  _end_effector_type;
00038    ::geometry_msgs::Point32_<ContainerAllocator>  end_effector;
00039 
00040   typedef uint8_t _contact_type;
00041   uint8_t contact;
00042 
00043 
00044   typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct SlavePoint
00048 typedef  ::fast_plane_detection::SlavePoint_<std::allocator<void> > SlavePoint;
00049 
00050 typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint> SlavePointPtr;
00051 typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint const> SlavePointConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::fast_plane_detection::SlavePoint_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::fast_plane_detection::SlavePoint_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace fast_plane_detection
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SlavePoint_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "97fcacf5bd73886a5a75c1efaa16ed95";
00073   }
00074 
00075   static const char* value(const  ::fast_plane_detection::SlavePoint_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x97fcacf5bd73886aULL;
00077   static const uint64_t static_value2 = 0x5a75c1efaa16ed95ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "fast_plane_detection/SlavePoint";
00085   }
00086 
00087   static const char* value(const  ::fast_plane_detection::SlavePoint_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# The coordinates of the 3D point around which the local plane is estimated\n\
00095 geometry_msgs/Point32 end_effector\n\
00096 \n\
00097 # Describes the contact situation\n\
00098 bool  contact\n\
00099 ================================================================================\n\
00100 MSG: geometry_msgs/Point32\n\
00101 # This contains the position of a point in free space(with 32 bits of precision).\n\
00102 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00103 # \n\
00104 # This recommendation is to promote interoperability.  \n\
00105 #\n\
00106 # This message is designed to take up less space when sending\n\
00107 # lots of points at once, as in the case of a PointCloud.  \n\
00108 \n\
00109 float32 x\n\
00110 float32 y\n\
00111 float32 z\n\
00112 ";
00113   }
00114 
00115   static const char* value(const  ::fast_plane_detection::SlavePoint_<ContainerAllocator> &) { return value(); } 
00116 };
00117 
00118 template<class ContainerAllocator> struct IsFixedSize< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > : public TrueType {};
00119 } // namespace message_traits
00120 } // namespace ros
00121 
00122 namespace ros
00123 {
00124 namespace serialization
00125 {
00126 
00127 template<class ContainerAllocator> struct Serializer< ::fast_plane_detection::SlavePoint_<ContainerAllocator> >
00128 {
00129   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00130   {
00131     stream.next(m.end_effector);
00132     stream.next(m.contact);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct SlavePoint_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::fast_plane_detection::SlavePoint_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::fast_plane_detection::SlavePoint_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "end_effector: ";
00151 s << std::endl;
00152     Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + "  ", v.end_effector);
00153     s << indent << "contact: ";
00154     Printer<uint8_t>::stream(s, indent + "  ", v.contact);
00155   }
00156 };
00157 
00158 
00159 } // namespace message_operations
00160 } // namespace ros
00161 
00162 #endif // FAST_PLANE_DETECTION_MESSAGE_SLAVEPOINT_H
00163 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


fast_plane_detection
Author(s): Jeannette Bohg
autogenerated on Wed Jan 23 2013 16:52:54