Go to the documentation of this file.00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTFEEDBACK_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTFEEDBACK_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 #include "object_manipulation_msgs/ManipulationPhase.h"
00018
00019 namespace object_manipulation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ReactiveLiftFeedback_ {
00023 typedef ReactiveLiftFeedback_<ContainerAllocator> Type;
00024
00025 ReactiveLiftFeedback_()
00026 : manipulation_phase()
00027 {
00028 }
00029
00030 ReactiveLiftFeedback_(const ContainerAllocator& _alloc)
00031 : manipulation_phase(_alloc)
00032 {
00033 }
00034
00035 typedef ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> _manipulation_phase_type;
00036 ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> manipulation_phase;
00037
00038
00039 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::object_manipulation_msgs::ReactiveLiftFeedback_<std::allocator<void> > ReactiveLiftFeedback;
00044
00045 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback> ReactiveLiftFeedbackPtr;
00046 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveLiftFeedback const> ReactiveLiftFeedbackConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "f5854fd8810580aa0bc24d4d76384836";
00068 }
00069
00070 static const char* value(const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xf5854fd8810580aaULL;
00072 static const uint64_t static_value2 = 0x0bc24d4d76384836ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "object_manipulation_msgs/ReactiveLiftFeedback";
00080 }
00081
00082 static const char* value(const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 \n\
00091 # Which phase the lift is in\n\
00092 \n\
00093 ManipulationPhase manipulation_phase\n\
00094 \n\
00095 \n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: object_manipulation_msgs/ManipulationPhase\n\
00099 int32 CHECKING_FEASIBILITY = 0\n\
00100 int32 MOVING_TO_PREGRASP = 1\n\
00101 int32 MOVING_TO_GRASP = 2\n\
00102 int32 CLOSING = 3 \n\
00103 int32 ADJUSTING_GRASP = 4\n\
00104 int32 LIFTING = 5\n\
00105 int32 MOVING_WITH_OBJECT = 6\n\
00106 int32 MOVING_TO_PLACE = 7\n\
00107 int32 PLACING = 8\n\
00108 int32 OPENING = 9\n\
00109 int32 RETREATING = 10\n\
00110 int32 MOVING_WITHOUT_OBJECT = 11\n\
00111 int32 SHAKING = 12\n\
00112 int32 SUCCEEDED = 13\n\
00113 int32 FAILED = 14\n\
00114 int32 ABORTED = 15\n\
00115 int32 HOLDING_OBJECT = 16\n\
00116 \n\
00117 int32 phase\n\
00118 ";
00119 }
00120
00121 static const char* value(const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> > : public TrueType {};
00125 }
00126 }
00127
00128 namespace ros
00129 {
00130 namespace serialization
00131 {
00132
00133 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> >
00134 {
00135 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00136 {
00137 stream.next(m.manipulation_phase);
00138 }
00139
00140 ROS_DECLARE_ALLINONE_SERIALIZER;
00141 };
00142 }
00143 }
00144
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149
00150 template<class ContainerAllocator>
00151 struct Printer< ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> >
00152 {
00153 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ReactiveLiftFeedback_<ContainerAllocator> & v)
00154 {
00155 s << indent << "manipulation_phase: ";
00156 s << std::endl;
00157 Printer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >::stream(s, indent + " ", v.manipulation_phase);
00158 }
00159 };
00160
00161
00162 }
00163 }
00164
00165 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVELIFTFEEDBACK_H
00166