ObjectInHand.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/2014-10-06_11-30-38.833395/pr2_object_manipulation/applications/pr2_create_object_model/msg/ObjectInHand.msg */
00002 #ifndef PR2_CREATE_OBJECT_MODEL_MESSAGE_OBJECTINHAND_H
00003 #define PR2_CREATE_OBJECT_MODEL_MESSAGE_OBJECTINHAND_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 ObjectInHand_ {
00023   typedef ObjectInHand_<ContainerAllocator> Type;
00024 
00025   ObjectInHand_()
00026   : arm_name()
00027   , cluster()
00028   , collision_name()
00029   {
00030   }
00031 
00032   ObjectInHand_(const ContainerAllocator& _alloc)
00033   : arm_name(_alloc)
00034   , cluster(_alloc)
00035   , collision_name(_alloc)
00036   {
00037   }
00038 
00039   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _arm_name_type;
00040   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  arm_name;
00041 
00042   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _cluster_type;
00043    ::sensor_msgs::PointCloud2_<ContainerAllocator>  cluster;
00044 
00045   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _collision_name_type;
00046   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  collision_name;
00047 
00048 
00049   typedef boost::shared_ptr< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct ObjectInHand
00053 typedef  ::pr2_create_object_model::ObjectInHand_<std::allocator<void> > ObjectInHand;
00054 
00055 typedef boost::shared_ptr< ::pr2_create_object_model::ObjectInHand> ObjectInHandPtr;
00056 typedef boost::shared_ptr< ::pr2_create_object_model::ObjectInHand const> ObjectInHandConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace pr2_create_object_model
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "4fc0573025d65bdcd1b2ae03b3b53c3e";
00078   }
00079 
00080   static const char* value(const  ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x4fc0573025d65bdcULL;
00082   static const uint64_t static_value2 = 0xd1b2ae03b3b53c3eULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "pr2_create_object_model/ObjectInHand";
00090   }
00091 
00092   static const char* value(const  ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "string arm_name\n\
00100 sensor_msgs/PointCloud2 cluster\n\
00101 string collision_name\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::ObjectInHand_<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::ObjectInHand_<ContainerAllocator> >
00184 {
00185   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00186   {
00187     stream.next(m.arm_name);
00188     stream.next(m.cluster);
00189     stream.next(m.collision_name);
00190   }
00191 
00192   ROS_DECLARE_ALLINONE_SERIALIZER;
00193 }; // struct ObjectInHand_
00194 } // namespace serialization
00195 } // namespace ros
00196 
00197 namespace ros
00198 {
00199 namespace message_operations
00200 {
00201 
00202 template<class ContainerAllocator>
00203 struct Printer< ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> >
00204 {
00205   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_create_object_model::ObjectInHand_<ContainerAllocator> & v) 
00206   {
00207     s << indent << "arm_name: ";
00208     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.arm_name);
00209     s << indent << "cluster: ";
00210 s << std::endl;
00211     Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + "  ", v.cluster);
00212     s << indent << "collision_name: ";
00213     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.collision_name);
00214   }
00215 };
00216 
00217 
00218 } // namespace message_operations
00219 } // namespace ros
00220 
00221 #endif // PR2_CREATE_OBJECT_MODEL_MESSAGE_OBJECTINHAND_H
00222 


pr2_create_object_model
Author(s): Kaijen Hsiao
autogenerated on Mon Oct 6 2014 11:49:24