$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/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 private: 00045 static const char* __s_getDataType_() { return "fast_plane_detection/SlavePoint"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "97fcacf5bd73886a5a75c1efaa16ed95"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "# The coordinates of the 3D point around which the local plane is estimated\n\ 00060 geometry_msgs/Point32 end_effector\n\ 00061 \n\ 00062 # Describes the contact situation\n\ 00063 bool contact\n\ 00064 ================================================================================\n\ 00065 MSG: geometry_msgs/Point32\n\ 00066 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00067 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00068 # \n\ 00069 # This recommendation is to promote interoperability. \n\ 00070 #\n\ 00071 # This message is designed to take up less space when sending\n\ 00072 # lots of points at once, as in the case of a PointCloud. \n\ 00073 \n\ 00074 float32 x\n\ 00075 float32 y\n\ 00076 float32 z\n\ 00077 "; } 00078 public: 00079 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00080 00081 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00082 00083 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00084 { 00085 ros::serialization::OStream stream(write_ptr, 1000000000); 00086 ros::serialization::serialize(stream, end_effector); 00087 ros::serialization::serialize(stream, contact); 00088 return stream.getData(); 00089 } 00090 00091 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00092 { 00093 ros::serialization::IStream stream(read_ptr, 1000000000); 00094 ros::serialization::deserialize(stream, end_effector); 00095 ros::serialization::deserialize(stream, contact); 00096 return stream.getData(); 00097 } 00098 00099 ROS_DEPRECATED virtual uint32_t serializationLength() const 00100 { 00101 uint32_t size = 0; 00102 size += ros::serialization::serializationLength(end_effector); 00103 size += ros::serialization::serializationLength(contact); 00104 return size; 00105 } 00106 00107 typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > Ptr; 00108 typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint_<ContainerAllocator> const> ConstPtr; 00109 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00110 }; // struct SlavePoint 00111 typedef ::fast_plane_detection::SlavePoint_<std::allocator<void> > SlavePoint; 00112 00113 typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint> SlavePointPtr; 00114 typedef boost::shared_ptr< ::fast_plane_detection::SlavePoint const> SlavePointConstPtr; 00115 00116 00117 template<typename ContainerAllocator> 00118 std::ostream& operator<<(std::ostream& s, const ::fast_plane_detection::SlavePoint_<ContainerAllocator> & v) 00119 { 00120 ros::message_operations::Printer< ::fast_plane_detection::SlavePoint_<ContainerAllocator> >::stream(s, "", v); 00121 return s;} 00122 00123 } // namespace fast_plane_detection 00124 00125 namespace ros 00126 { 00127 namespace message_traits 00128 { 00129 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > : public TrueType {}; 00130 template<class ContainerAllocator> struct IsMessage< ::fast_plane_detection::SlavePoint_<ContainerAllocator> const> : public TrueType {}; 00131 template<class ContainerAllocator> 00132 struct MD5Sum< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > { 00133 static const char* value() 00134 { 00135 return "97fcacf5bd73886a5a75c1efaa16ed95"; 00136 } 00137 00138 static const char* value(const ::fast_plane_detection::SlavePoint_<ContainerAllocator> &) { return value(); } 00139 static const uint64_t static_value1 = 0x97fcacf5bd73886aULL; 00140 static const uint64_t static_value2 = 0x5a75c1efaa16ed95ULL; 00141 }; 00142 00143 template<class ContainerAllocator> 00144 struct DataType< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > { 00145 static const char* value() 00146 { 00147 return "fast_plane_detection/SlavePoint"; 00148 } 00149 00150 static const char* value(const ::fast_plane_detection::SlavePoint_<ContainerAllocator> &) { return value(); } 00151 }; 00152 00153 template<class ContainerAllocator> 00154 struct Definition< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > { 00155 static const char* value() 00156 { 00157 return "# The coordinates of the 3D point around which the local plane is estimated\n\ 00158 geometry_msgs/Point32 end_effector\n\ 00159 \n\ 00160 # Describes the contact situation\n\ 00161 bool contact\n\ 00162 ================================================================================\n\ 00163 MSG: geometry_msgs/Point32\n\ 00164 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00165 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00166 # \n\ 00167 # This recommendation is to promote interoperability. \n\ 00168 #\n\ 00169 # This message is designed to take up less space when sending\n\ 00170 # lots of points at once, as in the case of a PointCloud. \n\ 00171 \n\ 00172 float32 x\n\ 00173 float32 y\n\ 00174 float32 z\n\ 00175 "; 00176 } 00177 00178 static const char* value(const ::fast_plane_detection::SlavePoint_<ContainerAllocator> &) { return value(); } 00179 }; 00180 00181 template<class ContainerAllocator> struct IsFixedSize< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > : public TrueType {}; 00182 } // namespace message_traits 00183 } // namespace ros 00184 00185 namespace ros 00186 { 00187 namespace serialization 00188 { 00189 00190 template<class ContainerAllocator> struct Serializer< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > 00191 { 00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00193 { 00194 stream.next(m.end_effector); 00195 stream.next(m.contact); 00196 } 00197 00198 ROS_DECLARE_ALLINONE_SERIALIZER; 00199 }; // struct SlavePoint_ 00200 } // namespace serialization 00201 } // namespace ros 00202 00203 namespace ros 00204 { 00205 namespace message_operations 00206 { 00207 00208 template<class ContainerAllocator> 00209 struct Printer< ::fast_plane_detection::SlavePoint_<ContainerAllocator> > 00210 { 00211 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::fast_plane_detection::SlavePoint_<ContainerAllocator> & v) 00212 { 00213 s << indent << "end_effector: "; 00214 s << std::endl; 00215 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.end_effector); 00216 s << indent << "contact: "; 00217 Printer<uint8_t>::stream(s, indent + " ", v.contact); 00218 } 00219 }; 00220 00221 00222 } // namespace message_operations 00223 } // namespace ros 00224 00225 #endif // FAST_PLANE_DETECTION_MESSAGE_SLAVEPOINT_H 00226