$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_assisted_grasping_msgs/msg/ManualGraspingFeedback.msg */ 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 private: 00049 static const char* __s_getDataType_() { return "srs_assisted_grasping_msgs/ManualGraspingFeedback"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "f3ff485e50b6b796b59b216eafa15fd5"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00064 # feedback\n\ 00065 #uint8 progress\n\ 00066 float32 tip1_force\n\ 00067 float32 tip2_force\n\ 00068 float32 tip3_force\n\ 00069 \n\ 00070 \n\ 00071 "; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00078 { 00079 ros::serialization::OStream stream(write_ptr, 1000000000); 00080 ros::serialization::serialize(stream, tip1_force); 00081 ros::serialization::serialize(stream, tip2_force); 00082 ros::serialization::serialize(stream, tip3_force); 00083 return stream.getData(); 00084 } 00085 00086 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00087 { 00088 ros::serialization::IStream stream(read_ptr, 1000000000); 00089 ros::serialization::deserialize(stream, tip1_force); 00090 ros::serialization::deserialize(stream, tip2_force); 00091 ros::serialization::deserialize(stream, tip3_force); 00092 return stream.getData(); 00093 } 00094 00095 ROS_DEPRECATED virtual uint32_t serializationLength() const 00096 { 00097 uint32_t size = 0; 00098 size += ros::serialization::serializationLength(tip1_force); 00099 size += ros::serialization::serializationLength(tip2_force); 00100 size += ros::serialization::serializationLength(tip3_force); 00101 return size; 00102 } 00103 00104 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > Ptr; 00105 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> const> ConstPtr; 00106 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00107 }; // struct ManualGraspingFeedback 00108 typedef ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<std::allocator<void> > ManualGraspingFeedback; 00109 00110 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback> ManualGraspingFeedbackPtr; 00111 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ManualGraspingFeedback const> ManualGraspingFeedbackConstPtr; 00112 00113 00114 template<typename ContainerAllocator> 00115 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> & v) 00116 { 00117 ros::message_operations::Printer< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> >::stream(s, "", v); 00118 return s;} 00119 00120 } // namespace srs_assisted_grasping_msgs 00121 00122 namespace ros 00123 { 00124 namespace message_traits 00125 { 00126 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > : public TrueType {}; 00127 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> const> : public TrueType {}; 00128 template<class ContainerAllocator> 00129 struct MD5Sum< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > { 00130 static const char* value() 00131 { 00132 return "f3ff485e50b6b796b59b216eafa15fd5"; 00133 } 00134 00135 static const char* value(const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> &) { return value(); } 00136 static const uint64_t static_value1 = 0xf3ff485e50b6b796ULL; 00137 static const uint64_t static_value2 = 0xb59b216eafa15fd5ULL; 00138 }; 00139 00140 template<class ContainerAllocator> 00141 struct DataType< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > { 00142 static const char* value() 00143 { 00144 return "srs_assisted_grasping_msgs/ManualGraspingFeedback"; 00145 } 00146 00147 static const char* value(const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> &) { return value(); } 00148 }; 00149 00150 template<class ContainerAllocator> 00151 struct Definition< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > { 00152 static const char* value() 00153 { 00154 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00155 # feedback\n\ 00156 #uint8 progress\n\ 00157 float32 tip1_force\n\ 00158 float32 tip2_force\n\ 00159 float32 tip3_force\n\ 00160 \n\ 00161 \n\ 00162 "; 00163 } 00164 00165 static const char* value(const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> &) { return value(); } 00166 }; 00167 00168 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > : public TrueType {}; 00169 } // namespace message_traits 00170 } // namespace ros 00171 00172 namespace ros 00173 { 00174 namespace serialization 00175 { 00176 00177 template<class ContainerAllocator> struct Serializer< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > 00178 { 00179 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00180 { 00181 stream.next(m.tip1_force); 00182 stream.next(m.tip2_force); 00183 stream.next(m.tip3_force); 00184 } 00185 00186 ROS_DECLARE_ALLINONE_SERIALIZER; 00187 }; // struct ManualGraspingFeedback_ 00188 } // namespace serialization 00189 } // namespace ros 00190 00191 namespace ros 00192 { 00193 namespace message_operations 00194 { 00195 00196 template<class ContainerAllocator> 00197 struct Printer< ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> > 00198 { 00199 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_grasping_msgs::ManualGraspingFeedback_<ContainerAllocator> & v) 00200 { 00201 s << indent << "tip1_force: "; 00202 Printer<float>::stream(s, indent + " ", v.tip1_force); 00203 s << indent << "tip2_force: "; 00204 Printer<float>::stream(s, indent + " ", v.tip2_force); 00205 s << indent << "tip3_force: "; 00206 Printer<float>::stream(s, indent + " ", v.tip3_force); 00207 } 00208 }; 00209 00210 00211 } // namespace message_operations 00212 } // namespace ros 00213 00214 #endif // SRS_ASSISTED_GRASPING_MSGS_MESSAGE_MANUALGRASPINGFEEDBACK_H 00215