ManualGraspingGoal.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_assisted_grasping_msgs/msg/ManualGraspingGoal.msg */
00002 #ifndef SRS_ASSISTED_GRASPING_MSGS_MESSAGE_MANUALGRASPINGGOAL_H
00003 #define SRS_ASSISTED_GRASPING_MSGS_MESSAGE_MANUALGRASPINGGOAL_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 
00018 namespace srs_assisted_grasping_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ManualGraspingGoal_ {
00022   typedef ManualGraspingGoal_<ContainerAllocator> Type;
00023 
00024   ManualGraspingGoal_()
00025   : grasp_type(0)
00026   , max_force(0.0)
00027   , accept_two_fingers_contact(false)
00028   , do_not_open_fingers(false)
00029   {
00030   }
00031 
00032   ManualGraspingGoal_(const ContainerAllocator& _alloc)
00033   : grasp_type(0)
00034   , max_force(0.0)
00035   , accept_two_fingers_contact(false)
00036   , do_not_open_fingers(false)
00037   {
00038   }
00039 
00040   typedef uint8_t _grasp_type_type;
00041   uint8_t grasp_type;
00042 
00043   typedef float _max_force_type;
00044   float max_force;
00045 
00046   typedef uint8_t _accept_two_fingers_contact_type;
00047   uint8_t accept_two_fingers_contact;
00048 
00049   typedef uint8_t _do_not_open_fingers_type;
00050   uint8_t do_not_open_fingers;
00051 
00052 
00053   typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct ManualGraspingGoal
00057 typedef  ::srs_assisted_grasping_msgs::ManualGraspingGoal_<std::allocator<void> > ManualGraspingGoal;
00058 
00059 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingGoal> ManualGraspingGoalPtr;
00060 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingGoal const> ManualGraspingGoalConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace srs_assisted_grasping_msgs
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "9ab9620ff244d7283f96379a16476d1e";
00082   }
00083 
00084   static const char* value(const  ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x9ab9620ff244d728ULL;
00086   static const uint64_t static_value2 = 0x3f96379a16476d1eULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "srs_assisted_grasping_msgs/ManualGraspingGoal";
00094   }
00095 
00096   static const char* value(const  ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00104 # goal\n\
00105 uint8 grasp_type\n\
00106 float32 max_force\n\
00107 bool accept_two_fingers_contact\n\
00108 bool do_not_open_fingers\n\
00109 \n\
00110 ";
00111   }
00112 
00113   static const char* value(const  ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> > : public TrueType {};
00117 } // namespace message_traits
00118 } // namespace ros
00119 
00120 namespace ros
00121 {
00122 namespace serialization
00123 {
00124 
00125 template<class ContainerAllocator> struct Serializer< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> >
00126 {
00127   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00128   {
00129     stream.next(m.grasp_type);
00130     stream.next(m.max_force);
00131     stream.next(m.accept_two_fingers_contact);
00132     stream.next(m.do_not_open_fingers);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct ManualGraspingGoal_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_assisted_grasping_msgs::ManualGraspingGoal_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "grasp_type: ";
00151     Printer<uint8_t>::stream(s, indent + "  ", v.grasp_type);
00152     s << indent << "max_force: ";
00153     Printer<float>::stream(s, indent + "  ", v.max_force);
00154     s << indent << "accept_two_fingers_contact: ";
00155     Printer<uint8_t>::stream(s, indent + "  ", v.accept_two_fingers_contact);
00156     s << indent << "do_not_open_fingers: ";
00157     Printer<uint8_t>::stream(s, indent + "  ", v.do_not_open_fingers);
00158   }
00159 };
00160 
00161 
00162 } // namespace message_operations
00163 } // namespace ros
00164 
00165 #endif // SRS_ASSISTED_GRASPING_MSGS_MESSAGE_MANUALGRASPINGGOAL_H
00166 


srs_assisted_grasping_msgs
Author(s): Zdenek Materna
autogenerated on Mon Oct 6 2014 07:57:12