FeasibleGrasp.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_public/doc_stacks/2014-10-06_07-45-36.510262/srs_public/srs_msgs/msg/FeasibleGrasp.msg */
00002 #ifndef SRS_MSGS_MESSAGE_FEASIBLEGRASP_H
00003 #define SRS_MSGS_MESSAGE_FEASIBLEGRASP_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 FeasibleGrasp_ {
00024   typedef FeasibleGrasp_<ContainerAllocator> Type;
00025 
00026   FeasibleGrasp_()
00027   : sdh_joint_values()
00028   , target_link()
00029   , grasp()
00030   , pre_grasp()
00031   , surface_distance(0.0)
00032   , category()
00033   {
00034   }
00035 
00036   FeasibleGrasp_(const ContainerAllocator& _alloc)
00037   : sdh_joint_values(_alloc)
00038   , target_link(_alloc)
00039   , grasp(_alloc)
00040   , pre_grasp(_alloc)
00041   , surface_distance(0.0)
00042   , category(_alloc)
00043   {
00044   }
00045 
00046   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _sdh_joint_values_type;
00047   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  sdh_joint_values;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _target_link_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  target_link;
00051 
00052   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _grasp_type;
00053    ::geometry_msgs::PoseStamped_<ContainerAllocator>  grasp;
00054 
00055   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _pre_grasp_type;
00056    ::geometry_msgs::PoseStamped_<ContainerAllocator>  pre_grasp;
00057 
00058   typedef double _surface_distance_type;
00059   double surface_distance;
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::FeasibleGrasp_<ContainerAllocator> > Ptr;
00066   typedef boost::shared_ptr< ::srs_msgs::FeasibleGrasp_<ContainerAllocator>  const> ConstPtr;
00067   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 }; // struct FeasibleGrasp
00069 typedef  ::srs_msgs::FeasibleGrasp_<std::allocator<void> > FeasibleGrasp;
00070 
00071 typedef boost::shared_ptr< ::srs_msgs::FeasibleGrasp> FeasibleGraspPtr;
00072 typedef boost::shared_ptr< ::srs_msgs::FeasibleGrasp const> FeasibleGraspConstPtr;
00073 
00074 
00075 template<typename ContainerAllocator>
00076 std::ostream& operator<<(std::ostream& s, const  ::srs_msgs::FeasibleGrasp_<ContainerAllocator> & v)
00077 {
00078   ros::message_operations::Printer< ::srs_msgs::FeasibleGrasp_<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::FeasibleGrasp_<ContainerAllocator> > : public TrueType {};
00088 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::FeasibleGrasp_<ContainerAllocator>  const> : public TrueType {};
00089 template<class ContainerAllocator>
00090 struct MD5Sum< ::srs_msgs::FeasibleGrasp_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "9658a5b41d8711f740084a7614774730";
00094   }
00095 
00096   static const char* value(const  ::srs_msgs::FeasibleGrasp_<ContainerAllocator> &) { return value(); } 
00097   static const uint64_t static_value1 = 0x9658a5b41d8711f7ULL;
00098   static const uint64_t static_value2 = 0x40084a7614774730ULL;
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct DataType< ::srs_msgs::FeasibleGrasp_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "srs_msgs/FeasibleGrasp";
00106   }
00107 
00108   static const char* value(const  ::srs_msgs::FeasibleGrasp_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct Definition< ::srs_msgs::FeasibleGrasp_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "float64[] sdh_joint_values\n\
00116 string target_link #link which should be moved to pre_grasp (e.g. sdh_palm_link)\n\
00117 geometry_msgs/PoseStamped grasp\n\
00118 geometry_msgs/PoseStamped pre_grasp\n\
00119 float64 surface_distance\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::FeasibleGrasp_<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::FeasibleGrasp_<ContainerAllocator> >
00183 {
00184   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00185   {
00186     stream.next(m.sdh_joint_values);
00187     stream.next(m.target_link);
00188     stream.next(m.grasp);
00189     stream.next(m.pre_grasp);
00190     stream.next(m.surface_distance);
00191     stream.next(m.category);
00192   }
00193 
00194   ROS_DECLARE_ALLINONE_SERIALIZER;
00195 }; // struct FeasibleGrasp_
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::FeasibleGrasp_<ContainerAllocator> >
00206 {
00207   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_msgs::FeasibleGrasp_<ContainerAllocator> & v) 
00208   {
00209     s << indent << "sdh_joint_values[]" << std::endl;
00210     for (size_t i = 0; i < v.sdh_joint_values.size(); ++i)
00211     {
00212       s << indent << "  sdh_joint_values[" << i << "]: ";
00213       Printer<double>::stream(s, indent + "  ", v.sdh_joint_values[i]);
00214     }
00215     s << indent << "target_link: ";
00216     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.target_link);
00217     s << indent << "grasp: ";
00218 s << std::endl;
00219     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.grasp);
00220     s << indent << "pre_grasp: ";
00221 s << std::endl;
00222     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.pre_grasp);
00223     s << indent << "surface_distance: ";
00224     Printer<double>::stream(s, indent + "  ", v.surface_distance);
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_FEASIBLEGRASP_H
00235 


srs_msgs
Author(s): renxi
autogenerated on Mon Oct 6 2014 08:20:53