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


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