DBGrasp.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_public/doc_stacks/2014-01-05_11-35-06.523601/srs_public/srs_msgs/msg/DBGrasp.msg */
00002 #ifndef SRS_MSGS_MESSAGE_DBGRASP_H
00003 #define SRS_MSGS_MESSAGE_DBGRASP_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 #include "geometry_msgs/PoseStamped.h"
00019 
00020 namespace srs_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct DBGrasp_ {
00024   typedef DBGrasp_<ContainerAllocator> Type;
00025 
00026   DBGrasp_()
00027   : object_id(0)
00028   , hand_type()
00029   , sdh_joint_values()
00030   , pre_grasp()
00031   , grasp()
00032   , category()
00033   {
00034   }
00035 
00036   DBGrasp_(const ContainerAllocator& _alloc)
00037   : object_id(0)
00038   , hand_type(_alloc)
00039   , sdh_joint_values(_alloc)
00040   , pre_grasp(_alloc)
00041   , grasp(_alloc)
00042   , category(_alloc)
00043   {
00044   }
00045 
00046   typedef int32_t _object_id_type;
00047   int32_t object_id;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _hand_type_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  hand_type;
00051 
00052   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _sdh_joint_values_type;
00053   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  sdh_joint_values;
00054 
00055   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _pre_grasp_type;
00056    ::geometry_msgs::PoseStamped_<ContainerAllocator>  pre_grasp;
00057 
00058   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _grasp_type;
00059    ::geometry_msgs::PoseStamped_<ContainerAllocator>  grasp;
00060 
00061   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _category_type;
00062   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  category;
00063 
00064 
00065   typedef boost::shared_ptr< ::srs_msgs::DBGrasp_<ContainerAllocator> > Ptr;
00066   typedef boost::shared_ptr< ::srs_msgs::DBGrasp_<ContainerAllocator>  const> ConstPtr;
00067   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 }; // struct DBGrasp
00069 typedef  ::srs_msgs::DBGrasp_<std::allocator<void> > DBGrasp;
00070 
00071 typedef boost::shared_ptr< ::srs_msgs::DBGrasp> DBGraspPtr;
00072 typedef boost::shared_ptr< ::srs_msgs::DBGrasp const> DBGraspConstPtr;
00073 
00074 
00075 template<typename ContainerAllocator>
00076 std::ostream& operator<<(std::ostream& s, const  ::srs_msgs::DBGrasp_<ContainerAllocator> & v)
00077 {
00078   ros::message_operations::Printer< ::srs_msgs::DBGrasp_<ContainerAllocator> >::stream(s, "", v);
00079   return s;}
00080 
00081 } // namespace srs_msgs
00082 
00083 namespace ros
00084 {
00085 namespace message_traits
00086 {
00087 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::DBGrasp_<ContainerAllocator> > : public TrueType {};
00088 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::DBGrasp_<ContainerAllocator>  const> : public TrueType {};
00089 template<class ContainerAllocator>
00090 struct MD5Sum< ::srs_msgs::DBGrasp_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "d25a83b2040a10d845751c83e9e78981";
00094   }
00095 
00096   static const char* value(const  ::srs_msgs::DBGrasp_<ContainerAllocator> &) { return value(); } 
00097   static const uint64_t static_value1 = 0xd25a83b2040a10d8ULL;
00098   static const uint64_t static_value2 = 0x45751c83e9e78981ULL;
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct DataType< ::srs_msgs::DBGrasp_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "srs_msgs/DBGrasp";
00106   }
00107 
00108   static const char* value(const  ::srs_msgs::DBGrasp_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct Definition< ::srs_msgs::DBGrasp_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "int32 object_id\n\
00116 string hand_type\n\
00117 float64[] sdh_joint_values\n\
00118 geometry_msgs/PoseStamped pre_grasp\n\
00119 geometry_msgs/PoseStamped grasp\n\
00120 string category\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geometry_msgs/PoseStamped\n\
00124 # A Pose with reference coordinate frame and timestamp\n\
00125 Header header\n\
00126 Pose pose\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Header\n\
00130 # Standard metadata for higher-level stamped data types.\n\
00131 # This is generally used to communicate timestamped data \n\
00132 # in a particular coordinate frame.\n\
00133 # \n\
00134 # sequence ID: consecutively increasing ID \n\
00135 uint32 seq\n\
00136 #Two-integer timestamp that is expressed as:\n\
00137 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00138 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00139 # time-handling sugar is provided by the client library\n\
00140 time stamp\n\
00141 #Frame this data is associated with\n\
00142 # 0: no frame\n\
00143 # 1: global frame\n\
00144 string frame_id\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Pose\n\
00148 # A representation of pose in free space, composed of postion and orientation. \n\
00149 Point position\n\
00150 Quaternion orientation\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: geometry_msgs/Point\n\
00154 # This contains the position of a point in free space\n\
00155 float64 x\n\
00156 float64 y\n\
00157 float64 z\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: geometry_msgs/Quaternion\n\
00161 # This represents an orientation in free space in quaternion form.\n\
00162 \n\
00163 float64 x\n\
00164 float64 y\n\
00165 float64 z\n\
00166 float64 w\n\
00167 \n\
00168 ";
00169   }
00170 
00171   static const char* value(const  ::srs_msgs::DBGrasp_<ContainerAllocator> &) { return value(); } 
00172 };
00173 
00174 } // namespace message_traits
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace serialization
00180 {
00181 
00182 template<class ContainerAllocator> struct Serializer< ::srs_msgs::DBGrasp_<ContainerAllocator> >
00183 {
00184   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00185   {
00186     stream.next(m.object_id);
00187     stream.next(m.hand_type);
00188     stream.next(m.sdh_joint_values);
00189     stream.next(m.pre_grasp);
00190     stream.next(m.grasp);
00191     stream.next(m.category);
00192   }
00193 
00194   ROS_DECLARE_ALLINONE_SERIALIZER;
00195 }; // struct DBGrasp_
00196 } // namespace serialization
00197 } // namespace ros
00198 
00199 namespace ros
00200 {
00201 namespace message_operations
00202 {
00203 
00204 template<class ContainerAllocator>
00205 struct Printer< ::srs_msgs::DBGrasp_<ContainerAllocator> >
00206 {
00207   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_msgs::DBGrasp_<ContainerAllocator> & v) 
00208   {
00209     s << indent << "object_id: ";
00210     Printer<int32_t>::stream(s, indent + "  ", v.object_id);
00211     s << indent << "hand_type: ";
00212     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.hand_type);
00213     s << indent << "sdh_joint_values[]" << std::endl;
00214     for (size_t i = 0; i < v.sdh_joint_values.size(); ++i)
00215     {
00216       s << indent << "  sdh_joint_values[" << i << "]: ";
00217       Printer<double>::stream(s, indent + "  ", v.sdh_joint_values[i]);
00218     }
00219     s << indent << "pre_grasp: ";
00220 s << std::endl;
00221     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.pre_grasp);
00222     s << indent << "grasp: ";
00223 s << std::endl;
00224     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.grasp);
00225     s << indent << "category: ";
00226     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.category);
00227   }
00228 };
00229 
00230 
00231 } // namespace message_operations
00232 } // namespace ros
00233 
00234 #endif // SRS_MSGS_MESSAGE_DBGRASP_H
00235 


srs_msgs
Author(s): renxi
autogenerated on Sun Jan 5 2014 12:00:23