Go to the documentation of this file.00001
00002 #ifndef SRS_ASSISTED_GRASPING_MSGS_MESSAGE_MANUALGRASPINGFEEDBACK_H
00003 #define SRS_ASSISTED_GRASPING_MSGS_MESSAGE_MANUALGRASPINGFEEDBACK_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 ManualGraspingFeedback_ {
00022 typedef ManualGraspingFeedback_<ContainerAllocator> Type;
00023
00024 ManualGraspingFeedback_()
00025 : tip1_force(0.0)
00026 , tip2_force(0.0)
00027 , tip3_force(0.0)
00028 {
00029 }
00030
00031 ManualGraspingFeedback_(const ContainerAllocator& _alloc)
00032 : tip1_force(0.0)
00033 , tip2_force(0.0)
00034 , tip3_force(0.0)
00035 {
00036 }
00037
00038 typedef float _tip1_force_type;
00039 float tip1_force;
00040
00041 typedef float _tip2_force_type;
00042 float tip2_force;
00043
00044 typedef float _tip3_force_type;
00045 float tip3_force;
00046
00047
00048 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<std::allocator<void> > ManualGraspingFeedback;
00053
00054 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback> ManualGraspingFeedbackPtr;
00055 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback const> ManualGraspingFeedbackConstPtr;
00056
00057
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> & v)
00060 {
00061 ros::message_operations::Printer< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> >::stream(s, "", v);
00062 return s;}
00063
00064 }
00065
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > {
00074 static const char* value()
00075 {
00076 return "f3ff485e50b6b796b59b216eafa15fd5";
00077 }
00078
00079 static const char* value(const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> &) { return value(); }
00080 static const uint64_t static_value1 = 0xf3ff485e50b6b796ULL;
00081 static const uint64_t static_value2 = 0xb59b216eafa15fd5ULL;
00082 };
00083
00084 template<class ContainerAllocator>
00085 struct DataType< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "srs_assisted_grasping_msgs/ManualGraspingFeedback";
00089 }
00090
00091 static const char* value(const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> &) { return value(); }
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct Definition< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00099 # feedback\n\
00100 #uint8 progress\n\
00101 float32 tip1_force\n\
00102 float32 tip2_force\n\
00103 float32 tip3_force\n\
00104 \n\
00105 \n\
00106 ";
00107 }
00108
00109 static const char* value(const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> &) { return value(); }
00110 };
00111
00112 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > : public TrueType {};
00113 }
00114 }
00115
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120
00121 template<class ContainerAllocator> struct Serializer< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> >
00122 {
00123 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124 {
00125 stream.next(m.tip1_force);
00126 stream.next(m.tip2_force);
00127 stream.next(m.tip3_force);
00128 }
00129
00130 ROS_DECLARE_ALLINONE_SERIALIZER;
00131 };
00132 }
00133 }
00134
00135 namespace ros
00136 {
00137 namespace message_operations
00138 {
00139
00140 template<class ContainerAllocator>
00141 struct Printer< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> >
00142 {
00143 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> & v)
00144 {
00145 s << indent << "tip1_force: ";
00146 Printer<float>::stream(s, indent + " ", v.tip1_force);
00147 s << indent << "tip2_force: ";
00148 Printer<float>::stream(s, indent + " ", v.tip2_force);
00149 s << indent << "tip3_force: ";
00150 Printer<float>::stream(s, indent + " ", v.tip3_force);
00151 }
00152 };
00153
00154
00155 }
00156 }
00157
00158 #endif // SRS_ASSISTED_GRASPING_MSGS_MESSAGE_MANUALGRASPINGFEEDBACK_H
00159