00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERRELEASEFEEDBACK_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERRELEASEFEEDBACK_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "pr2_gripper_sensor_msgs/PR2GripperReleaseData.h"
00014
00015 namespace pr2_gripper_sensor_msgs
00016 {
00017 template <class ContainerAllocator>
00018 struct PR2GripperReleaseFeedback_ : public ros::Message
00019 {
00020 typedef PR2GripperReleaseFeedback_<ContainerAllocator> Type;
00021
00022 PR2GripperReleaseFeedback_()
00023 : data()
00024 {
00025 }
00026
00027 PR2GripperReleaseFeedback_(const ContainerAllocator& _alloc)
00028 : data(_alloc)
00029 {
00030 }
00031
00032 typedef ::pr2_gripper_sensor_msgs::PR2GripperReleaseData_<ContainerAllocator> _data_type;
00033 ::pr2_gripper_sensor_msgs::PR2GripperReleaseData_<ContainerAllocator> data;
00034
00035
00036 private:
00037 static const char* __s_getDataType_() { return "pr2_gripper_sensor_msgs/PR2GripperReleaseFeedback"; }
00038 public:
00039 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00040
00041 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00042
00043 private:
00044 static const char* __s_getMD5Sum_() { return "b4b68d48ac7d07bdb11b7f3badfa9266"; }
00045 public:
00046 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00047
00048 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00049
00050 private:
00051 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00052 \n\
00053 #feedback\n\
00054 PR2GripperReleaseData data\n\
00055 \n\
00056 \n\
00057 ================================================================================\n\
00058 MSG: pr2_gripper_sensor_msgs/PR2GripperReleaseData\n\
00059 # the control state of our realtime controller\n\
00060 PR2GripperSensorRTState rtstate\n\
00061 ================================================================================\n\
00062 MSG: pr2_gripper_sensor_msgs/PR2GripperSensorRTState\n\
00063 # the control state of our realtime controller\n\
00064 int8 realtime_controller_state\n\
00065 \n\
00066 # predefined values to indicate our realtime_controller_state\n\
00067 int8 DISABLED = 0\n\
00068 int8 POSITION_SERVO = 3\n\
00069 int8 FORCE_SERVO = 4\n\
00070 int8 FIND_CONTACT = 5\n\
00071 int8 SLIP_SERVO = 6\n\
00072 "; }
00073 public:
00074 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00075
00076 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00077
00078 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00079 {
00080 ros::serialization::OStream stream(write_ptr, 1000000000);
00081 ros::serialization::serialize(stream, data);
00082 return stream.getData();
00083 }
00084
00085 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00086 {
00087 ros::serialization::IStream stream(read_ptr, 1000000000);
00088 ros::serialization::deserialize(stream, data);
00089 return stream.getData();
00090 }
00091
00092 ROS_DEPRECATED virtual uint32_t serializationLength() const
00093 {
00094 uint32_t size = 0;
00095 size += ros::serialization::serializationLength(data);
00096 return size;
00097 }
00098
00099 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> > Ptr;
00100 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> const> ConstPtr;
00101 };
00102 typedef ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<std::allocator<void> > PR2GripperReleaseFeedback;
00103
00104 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback> PR2GripperReleaseFeedbackPtr;
00105 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback const> PR2GripperReleaseFeedbackConstPtr;
00106
00107
00108 template<typename ContainerAllocator>
00109 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> & v)
00110 {
00111 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> >::stream(s, "", v);
00112 return s;}
00113
00114 }
00115
00116 namespace ros
00117 {
00118 namespace message_traits
00119 {
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "b4b68d48ac7d07bdb11b7f3badfa9266";
00125 }
00126
00127 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> &) { return value(); }
00128 static const uint64_t static_value1 = 0xb4b68d48ac7d07bdULL;
00129 static const uint64_t static_value2 = 0xb11b7f3badfa9266ULL;
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "pr2_gripper_sensor_msgs/PR2GripperReleaseFeedback";
00137 }
00138
00139 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00147 \n\
00148 #feedback\n\
00149 PR2GripperReleaseData data\n\
00150 \n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: pr2_gripper_sensor_msgs/PR2GripperReleaseData\n\
00154 # the control state of our realtime controller\n\
00155 PR2GripperSensorRTState rtstate\n\
00156 ================================================================================\n\
00157 MSG: pr2_gripper_sensor_msgs/PR2GripperSensorRTState\n\
00158 # the control state of our realtime controller\n\
00159 int8 realtime_controller_state\n\
00160 \n\
00161 # predefined values to indicate our realtime_controller_state\n\
00162 int8 DISABLED = 0\n\
00163 int8 POSITION_SERVO = 3\n\
00164 int8 FORCE_SERVO = 4\n\
00165 int8 FIND_CONTACT = 5\n\
00166 int8 SLIP_SERVO = 6\n\
00167 ";
00168 }
00169
00170 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> > : public TrueType {};
00174 }
00175 }
00176
00177 namespace ros
00178 {
00179 namespace serialization
00180 {
00181
00182 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> >
00183 {
00184 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00185 {
00186 stream.next(m.data);
00187 }
00188
00189 ROS_DECLARE_ALLINONE_SERIALIZER;
00190 };
00191 }
00192 }
00193
00194 namespace ros
00195 {
00196 namespace message_operations
00197 {
00198
00199 template<class ContainerAllocator>
00200 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> >
00201 {
00202 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperReleaseFeedback_<ContainerAllocator> & v)
00203 {
00204 s << indent << "data: ";
00205 s << std::endl;
00206 Printer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseData_<ContainerAllocator> >::stream(s, indent + " ", v.data);
00207 }
00208 };
00209
00210
00211 }
00212 }
00213
00214 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERRELEASEFEEDBACK_H
00215