Go to the documentation of this file.00001
00002 #ifndef MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADLOOKFEEDBACK_H
00003 #define MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADLOOKFEEDBACK_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 "actionlib_msgs/GoalStatus.h"
00018
00019 namespace move_arm_head_monitor
00020 {
00021 template <class ContainerAllocator>
00022 struct HeadLookFeedback_ {
00023 typedef HeadLookFeedback_<ContainerAllocator> Type;
00024
00025 HeadLookFeedback_()
00026 : feedbackStatus()
00027 {
00028 }
00029
00030 HeadLookFeedback_(const ContainerAllocator& _alloc)
00031 : feedbackStatus(_alloc)
00032 {
00033 }
00034
00035 typedef ::actionlib_msgs::GoalStatus_<ContainerAllocator> _feedbackStatus_type;
00036 ::actionlib_msgs::GoalStatus_<ContainerAllocator> feedbackStatus;
00037
00038
00039 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::move_arm_head_monitor::HeadLookFeedback_<std::allocator<void> > HeadLookFeedback;
00044
00045 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookFeedback> HeadLookFeedbackPtr;
00046 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadLookFeedback const> HeadLookFeedbackConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::move_arm_head_monitor::HeadLookFeedback_<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< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "87edd5273dfd6ed90ac01e39f188f5b1";
00068 }
00069
00070 static const char* value(const ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x87edd5273dfd6ed9ULL;
00072 static const uint64_t static_value2 = 0x0ac01e39f188f5b1ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "move_arm_head_monitor/HeadLookFeedback";
00080 }
00081
00082 static const char* value(const ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 #feedback\n\
00091 actionlib_msgs/GoalStatus feedbackStatus\n\
00092 \n\
00093 \n\
00094 ================================================================================\n\
00095 MSG: actionlib_msgs/GoalStatus\n\
00096 GoalID goal_id\n\
00097 uint8 status\n\
00098 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00099 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00100 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00101 # and has since completed its execution (Terminal State)\n\
00102 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00103 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00104 # to some failure (Terminal State)\n\
00105 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00106 # because the goal was unattainable or invalid (Terminal State)\n\
00107 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00108 # and has not yet completed execution\n\
00109 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00110 # but the action server has not yet confirmed that the goal is canceled\n\
00111 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00112 # and was successfully cancelled (Terminal State)\n\
00113 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00114 # sent over the wire by an action server\n\
00115 \n\
00116 #Allow for the user to associate a string with GoalStatus for debugging\n\
00117 string text\n\
00118 \n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: actionlib_msgs/GoalID\n\
00122 # The stamp should store the time at which this goal was requested.\n\
00123 # It is used by an action server when it tries to preempt all\n\
00124 # goals that were requested before a certain time\n\
00125 time stamp\n\
00126 \n\
00127 # The id provides a way to associate feedback and\n\
00128 # result message with specific goal requests. The id\n\
00129 # specified must be unique.\n\
00130 string id\n\
00131 \n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 }
00140 }
00141
00142 namespace ros
00143 {
00144 namespace serialization
00145 {
00146
00147 template<class ContainerAllocator> struct Serializer< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> >
00148 {
00149 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00150 {
00151 stream.next(m.feedbackStatus);
00152 }
00153
00154 ROS_DECLARE_ALLINONE_SERIALIZER;
00155 };
00156 }
00157 }
00158
00159 namespace ros
00160 {
00161 namespace message_operations
00162 {
00163
00164 template<class ContainerAllocator>
00165 struct Printer< ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> >
00166 {
00167 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::move_arm_head_monitor::HeadLookFeedback_<ContainerAllocator> & v)
00168 {
00169 s << indent << "feedbackStatus: ";
00170 s << std::endl;
00171 Printer< ::actionlib_msgs::GoalStatus_<ContainerAllocator> >::stream(s, indent + " ", v.feedbackStatus);
00172 }
00173 };
00174
00175
00176 }
00177 }
00178
00179 #endif // MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADLOOKFEEDBACK_H
00180