ModelObjectInHandResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_object_manipulation/doc_stacks/2014-01-03_11-39-44.427894/pr2_object_manipulation/applications/pr2_create_object_model/msg/ModelObjectInHandResult.msg */
00002 #ifndef PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDRESULT_H
00003 #define PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDRESULT_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 "sensor_msgs/PointCloud2.h"
00018 
00019 namespace pr2_create_object_model
00020 {
00021 template <class ContainerAllocator>
00022 struct ModelObjectInHandResult_ {
00023   typedef ModelObjectInHandResult_<ContainerAllocator> Type;
00024 
00025   ModelObjectInHandResult_()
00026   : cluster()
00027   , collision_name()
00028   {
00029   }
00030 
00031   ModelObjectInHandResult_(const ContainerAllocator& _alloc)
00032   : cluster(_alloc)
00033   , collision_name(_alloc)
00034   {
00035   }
00036 
00037   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _cluster_type;
00038    ::sensor_msgs::PointCloud2_<ContainerAllocator>  cluster;
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _collision_name_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  collision_name;
00042 
00043 
00044   typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct ModelObjectInHandResult
00048 typedef  ::pr2_create_object_model::ModelObjectInHandResult_<std::allocator<void> > ModelObjectInHandResult;
00049 
00050 typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandResult> ModelObjectInHandResultPtr;
00051 typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandResult const> ModelObjectInHandResultConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace pr2_create_object_model
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "351782e2c561b9d4a7b5319ccaaea551";
00073   }
00074 
00075   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x351782e2c561b9d4ULL;
00077   static const uint64_t static_value2 = 0xa7b5319ccaaea551ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "pr2_create_object_model/ModelObjectInHandResult";
00085   }
00086 
00087   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00095 \n\
00096 # the resulting object point cloud\n\
00097 sensor_msgs/PointCloud2 cluster\n\
00098 \n\
00099 # the resulting collision name, if added to the collision map\n\
00100 string collision_name\n\
00101 \n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: sensor_msgs/PointCloud2\n\
00105 # This message holds a collection of N-dimensional points, which may\n\
00106 # contain additional information such as normals, intensity, etc. The\n\
00107 # point data is stored as a binary blob, its layout described by the\n\
00108 # contents of the \"fields\" array.\n\
00109 \n\
00110 # The point cloud data may be organized 2d (image-like) or 1d\n\
00111 # (unordered). Point clouds organized as 2d images may be produced by\n\
00112 # camera depth sensors such as stereo or time-of-flight.\n\
00113 \n\
00114 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00115 # points).\n\
00116 Header header\n\
00117 \n\
00118 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00119 # 1 and width is the length of the point cloud.\n\
00120 uint32 height\n\
00121 uint32 width\n\
00122 \n\
00123 # Describes the channels and their layout in the binary data blob.\n\
00124 PointField[] fields\n\
00125 \n\
00126 bool    is_bigendian # Is this data bigendian?\n\
00127 uint32  point_step   # Length of a point in bytes\n\
00128 uint32  row_step     # Length of a row in bytes\n\
00129 uint8[] data         # Actual point data, size is (row_step*height)\n\
00130 \n\
00131 bool is_dense        # True if there are no invalid points\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: std_msgs/Header\n\
00135 # Standard metadata for higher-level stamped data types.\n\
00136 # This is generally used to communicate timestamped data \n\
00137 # in a particular coordinate frame.\n\
00138 # \n\
00139 # sequence ID: consecutively increasing ID \n\
00140 uint32 seq\n\
00141 #Two-integer timestamp that is expressed as:\n\
00142 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00143 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00144 # time-handling sugar is provided by the client library\n\
00145 time stamp\n\
00146 #Frame this data is associated with\n\
00147 # 0: no frame\n\
00148 # 1: global frame\n\
00149 string frame_id\n\
00150 \n\
00151 ================================================================================\n\
00152 MSG: sensor_msgs/PointField\n\
00153 # This message holds the description of one point entry in the\n\
00154 # PointCloud2 message format.\n\
00155 uint8 INT8    = 1\n\
00156 uint8 UINT8   = 2\n\
00157 uint8 INT16   = 3\n\
00158 uint8 UINT16  = 4\n\
00159 uint8 INT32   = 5\n\
00160 uint8 UINT32  = 6\n\
00161 uint8 FLOAT32 = 7\n\
00162 uint8 FLOAT64 = 8\n\
00163 \n\
00164 string name      # Name of field\n\
00165 uint32 offset    # Offset from start of point struct\n\
00166 uint8  datatype  # Datatype enumeration, see above\n\
00167 uint32 count     # How many elements in the field\n\
00168 \n\
00169 ";
00170   }
00171 
00172   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> &) { return value(); } 
00173 };
00174 
00175 } // namespace message_traits
00176 } // namespace ros
00177 
00178 namespace ros
00179 {
00180 namespace serialization
00181 {
00182 
00183 template<class ContainerAllocator> struct Serializer< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> >
00184 {
00185   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00186   {
00187     stream.next(m.cluster);
00188     stream.next(m.collision_name);
00189   }
00190 
00191   ROS_DECLARE_ALLINONE_SERIALIZER;
00192 }; // struct ModelObjectInHandResult_
00193 } // namespace serialization
00194 } // namespace ros
00195 
00196 namespace ros
00197 {
00198 namespace message_operations
00199 {
00200 
00201 template<class ContainerAllocator>
00202 struct Printer< ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> >
00203 {
00204   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_create_object_model::ModelObjectInHandResult_<ContainerAllocator> & v) 
00205   {
00206     s << indent << "cluster: ";
00207 s << std::endl;
00208     Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + "  ", v.cluster);
00209     s << indent << "collision_name: ";
00210     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.collision_name);
00211   }
00212 };
00213 
00214 
00215 } // namespace message_operations
00216 } // namespace ros
00217 
00218 #endif // PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDRESULT_H
00219 


pr2_create_object_model
Author(s): Kaijen Hsiao
autogenerated on Fri Jan 3 2014 11:50:03