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