00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEFEEDBACK_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEFEEDBACK_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 "object_manipulation_msgs/ManipulationPhase.h"
00014
00015 namespace object_manipulation_msgs
00016 {
00017 template <class ContainerAllocator>
00018 struct ReactivePlaceFeedback_ : public ros::Message
00019 {
00020 typedef ReactivePlaceFeedback_<ContainerAllocator> Type;
00021
00022 ReactivePlaceFeedback_()
00023 : manipulation_phase()
00024 {
00025 }
00026
00027 ReactivePlaceFeedback_(const ContainerAllocator& _alloc)
00028 : manipulation_phase(_alloc)
00029 {
00030 }
00031
00032 typedef ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> _manipulation_phase_type;
00033 ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> manipulation_phase;
00034
00035
00036 private:
00037 static const char* __s_getDataType_() { return "object_manipulation_msgs/ReactivePlaceFeedback"; }
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 "f5854fd8810580aa0bc24d4d76384836"; }
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 # which phase the place is in\n\
00054 \n\
00055 ManipulationPhase manipulation_phase\n\
00056 \n\
00057 \n\
00058 ================================================================================\n\
00059 MSG: object_manipulation_msgs/ManipulationPhase\n\
00060 int32 CHECKING_FEASIBILITY = 0\n\
00061 int32 MOVING_TO_PREGRASP = 1\n\
00062 int32 MOVING_TO_GRASP = 2\n\
00063 int32 CLOSING = 3 \n\
00064 int32 ADJUSTING_GRASP = 4\n\
00065 int32 LIFTING = 5\n\
00066 int32 MOVING_WITH_OBJECT = 6\n\
00067 int32 MOVING_TO_PLACE = 7\n\
00068 int32 PLACING = 8\n\
00069 int32 OPENING = 9\n\
00070 int32 RETREATING = 10\n\
00071 int32 MOVING_WITHOUT_OBJECT = 11\n\
00072 int32 SHAKING = 12\n\
00073 int32 SUCCEEDED = 13\n\
00074 int32 FAILED = 14\n\
00075 int32 ABORTED = 15\n\
00076 int32 HOLDING_OBJECT = 16\n\
00077 \n\
00078 int32 phase\n\
00079 "; }
00080 public:
00081 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00082
00083 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00084
00085 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00086 {
00087 ros::serialization::OStream stream(write_ptr, 1000000000);
00088 ros::serialization::serialize(stream, manipulation_phase);
00089 return stream.getData();
00090 }
00091
00092 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00093 {
00094 ros::serialization::IStream stream(read_ptr, 1000000000);
00095 ros::serialization::deserialize(stream, manipulation_phase);
00096 return stream.getData();
00097 }
00098
00099 ROS_DEPRECATED virtual uint32_t serializationLength() const
00100 {
00101 uint32_t size = 0;
00102 size += ros::serialization::serializationLength(manipulation_phase);
00103 return size;
00104 }
00105
00106 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > Ptr;
00107 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> const> ConstPtr;
00108 };
00109 typedef ::object_manipulation_msgs::ReactivePlaceFeedback_<std::allocator<void> > ReactivePlaceFeedback;
00110
00111 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback> ReactivePlaceFeedbackPtr;
00112 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback const> ReactivePlaceFeedbackConstPtr;
00113
00114
00115 template<typename ContainerAllocator>
00116 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> & v)
00117 {
00118 ros::message_operations::Printer< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> >::stream(s, "", v);
00119 return s;}
00120
00121 }
00122
00123 namespace ros
00124 {
00125 namespace message_traits
00126 {
00127 template<class ContainerAllocator>
00128 struct MD5Sum< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > {
00129 static const char* value()
00130 {
00131 return "f5854fd8810580aa0bc24d4d76384836";
00132 }
00133
00134 static const char* value(const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> &) { return value(); }
00135 static const uint64_t static_value1 = 0xf5854fd8810580aaULL;
00136 static const uint64_t static_value2 = 0x0bc24d4d76384836ULL;
00137 };
00138
00139 template<class ContainerAllocator>
00140 struct DataType< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > {
00141 static const char* value()
00142 {
00143 return "object_manipulation_msgs/ReactivePlaceFeedback";
00144 }
00145
00146 static const char* value(const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> &) { return value(); }
00147 };
00148
00149 template<class ContainerAllocator>
00150 struct Definition< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > {
00151 static const char* value()
00152 {
00153 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00154 \n\
00155 # which phase the place is in\n\
00156 \n\
00157 ManipulationPhase manipulation_phase\n\
00158 \n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: object_manipulation_msgs/ManipulationPhase\n\
00162 int32 CHECKING_FEASIBILITY = 0\n\
00163 int32 MOVING_TO_PREGRASP = 1\n\
00164 int32 MOVING_TO_GRASP = 2\n\
00165 int32 CLOSING = 3 \n\
00166 int32 ADJUSTING_GRASP = 4\n\
00167 int32 LIFTING = 5\n\
00168 int32 MOVING_WITH_OBJECT = 6\n\
00169 int32 MOVING_TO_PLACE = 7\n\
00170 int32 PLACING = 8\n\
00171 int32 OPENING = 9\n\
00172 int32 RETREATING = 10\n\
00173 int32 MOVING_WITHOUT_OBJECT = 11\n\
00174 int32 SHAKING = 12\n\
00175 int32 SUCCEEDED = 13\n\
00176 int32 FAILED = 14\n\
00177 int32 ABORTED = 15\n\
00178 int32 HOLDING_OBJECT = 16\n\
00179 \n\
00180 int32 phase\n\
00181 ";
00182 }
00183
00184 static const char* value(const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> &) { return value(); }
00185 };
00186
00187 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > : public TrueType {};
00188 }
00189 }
00190
00191 namespace ros
00192 {
00193 namespace serialization
00194 {
00195
00196 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> >
00197 {
00198 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00199 {
00200 stream.next(m.manipulation_phase);
00201 }
00202
00203 ROS_DECLARE_ALLINONE_SERIALIZER;
00204 };
00205 }
00206 }
00207
00208 namespace ros
00209 {
00210 namespace message_operations
00211 {
00212
00213 template<class ContainerAllocator>
00214 struct Printer< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> >
00215 {
00216 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> & v)
00217 {
00218 s << indent << "manipulation_phase: ";
00219 s << std::endl;
00220 Printer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >::stream(s, indent + " ", v.manipulation_phase);
00221 }
00222 };
00223
00224
00225 }
00226 }
00227
00228 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEFEEDBACK_H
00229