00001
00002 #ifndef MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADMONITORFEEDBACK_H
00003 #define MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADMONITORFEEDBACK_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 "actionlib_msgs/GoalStatus.h"
00014
00015 namespace move_arm_head_monitor
00016 {
00017 template <class ContainerAllocator>
00018 struct HeadMonitorFeedback_ : public ros::Message
00019 {
00020 typedef HeadMonitorFeedback_<ContainerAllocator> Type;
00021
00022 HeadMonitorFeedback_()
00023 : feedbackStatus()
00024 {
00025 }
00026
00027 HeadMonitorFeedback_(const ContainerAllocator& _alloc)
00028 : feedbackStatus(_alloc)
00029 {
00030 }
00031
00032 typedef ::actionlib_msgs::GoalStatus_<ContainerAllocator> _feedbackStatus_type;
00033 ::actionlib_msgs::GoalStatus_<ContainerAllocator> feedbackStatus;
00034
00035
00036 private:
00037 static const char* __s_getDataType_() { return "move_arm_head_monitor/HeadMonitorFeedback"; }
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 "87edd5273dfd6ed90ac01e39f188f5b1"; }
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 #feedback\n\
00053 actionlib_msgs/GoalStatus feedbackStatus\n\
00054 \n\
00055 \n\
00056 ================================================================================\n\
00057 MSG: actionlib_msgs/GoalStatus\n\
00058 GoalID goal_id\n\
00059 uint8 status\n\
00060 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00061 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00062 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00063 # and has since completed its execution (Terminal State)\n\
00064 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00065 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00066 # to some failure (Terminal State)\n\
00067 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00068 # because the goal was unattainable or invalid (Terminal State)\n\
00069 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00070 # and has not yet completed execution\n\
00071 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00072 # but the action server has not yet confirmed that the goal is canceled\n\
00073 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00074 # and was successfully cancelled (Terminal State)\n\
00075 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00076 # sent over the wire by an action server\n\
00077 \n\
00078 #Allow for the user to associate a string with GoalStatus for debugging\n\
00079 string text\n\
00080 \n\
00081 \n\
00082 ================================================================================\n\
00083 MSG: actionlib_msgs/GoalID\n\
00084 # The stamp should store the time at which this goal was requested.\n\
00085 # It is used by an action server when it tries to preempt all\n\
00086 # goals that were requested before a certain time\n\
00087 time stamp\n\
00088 \n\
00089 # The id provides a way to associate feedback and\n\
00090 # result message with specific goal requests. The id\n\
00091 # specified must be unique.\n\
00092 string id\n\
00093 \n\
00094 \n\
00095 "; }
00096 public:
00097 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00098
00099 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00100
00101 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00102 {
00103 ros::serialization::OStream stream(write_ptr, 1000000000);
00104 ros::serialization::serialize(stream, feedbackStatus);
00105 return stream.getData();
00106 }
00107
00108 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00109 {
00110 ros::serialization::IStream stream(read_ptr, 1000000000);
00111 ros::serialization::deserialize(stream, feedbackStatus);
00112 return stream.getData();
00113 }
00114
00115 ROS_DEPRECATED virtual uint32_t serializationLength() const
00116 {
00117 uint32_t size = 0;
00118 size += ros::serialization::serializationLength(feedbackStatus);
00119 return size;
00120 }
00121
00122 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> > Ptr;
00123 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> const> ConstPtr;
00124 };
00125 typedef ::move_arm_head_monitor::HeadMonitorFeedback_<std::allocator<void> > HeadMonitorFeedback;
00126
00127 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorFeedback> HeadMonitorFeedbackPtr;
00128 typedef boost::shared_ptr< ::move_arm_head_monitor::HeadMonitorFeedback const> HeadMonitorFeedbackConstPtr;
00129
00130
00131 template<typename ContainerAllocator>
00132 std::ostream& operator<<(std::ostream& s, const ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> & v)
00133 {
00134 ros::message_operations::Printer< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> >::stream(s, "", v);
00135 return s;}
00136
00137 }
00138
00139 namespace ros
00140 {
00141 namespace message_traits
00142 {
00143 template<class ContainerAllocator>
00144 struct MD5Sum< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> > {
00145 static const char* value()
00146 {
00147 return "87edd5273dfd6ed90ac01e39f188f5b1";
00148 }
00149
00150 static const char* value(const ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); }
00151 static const uint64_t static_value1 = 0x87edd5273dfd6ed9ULL;
00152 static const uint64_t static_value2 = 0x0ac01e39f188f5b1ULL;
00153 };
00154
00155 template<class ContainerAllocator>
00156 struct DataType< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "move_arm_head_monitor/HeadMonitorFeedback";
00160 }
00161
00162 static const char* value(const ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct Definition< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00170 #feedback\n\
00171 actionlib_msgs/GoalStatus feedbackStatus\n\
00172 \n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: actionlib_msgs/GoalStatus\n\
00176 GoalID goal_id\n\
00177 uint8 status\n\
00178 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00179 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00180 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00181 # and has since completed its execution (Terminal State)\n\
00182 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00183 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00184 # to some failure (Terminal State)\n\
00185 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00186 # because the goal was unattainable or invalid (Terminal State)\n\
00187 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00188 # and has not yet completed execution\n\
00189 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00190 # but the action server has not yet confirmed that the goal is canceled\n\
00191 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00192 # and was successfully cancelled (Terminal State)\n\
00193 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00194 # sent over the wire by an action server\n\
00195 \n\
00196 #Allow for the user to associate a string with GoalStatus for debugging\n\
00197 string text\n\
00198 \n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: actionlib_msgs/GoalID\n\
00202 # The stamp should store the time at which this goal was requested.\n\
00203 # It is used by an action server when it tries to preempt all\n\
00204 # goals that were requested before a certain time\n\
00205 time stamp\n\
00206 \n\
00207 # The id provides a way to associate feedback and\n\
00208 # result message with specific goal requests. The id\n\
00209 # specified must be unique.\n\
00210 string id\n\
00211 \n\
00212 \n\
00213 ";
00214 }
00215
00216 static const char* value(const ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); }
00217 };
00218
00219 }
00220 }
00221
00222 namespace ros
00223 {
00224 namespace serialization
00225 {
00226
00227 template<class ContainerAllocator> struct Serializer< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> >
00228 {
00229 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00230 {
00231 stream.next(m.feedbackStatus);
00232 }
00233
00234 ROS_DECLARE_ALLINONE_SERIALIZER;
00235 };
00236 }
00237 }
00238
00239 namespace ros
00240 {
00241 namespace message_operations
00242 {
00243
00244 template<class ContainerAllocator>
00245 struct Printer< ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> >
00246 {
00247 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::move_arm_head_monitor::HeadMonitorFeedback_<ContainerAllocator> & v)
00248 {
00249 s << indent << "feedbackStatus: ";
00250 s << std::endl;
00251 Printer< ::actionlib_msgs::GoalStatus_<ContainerAllocator> >::stream(s, indent + " ", v.feedbackStatus);
00252 }
00253 };
00254
00255
00256 }
00257 }
00258
00259 #endif // MOVE_ARM_HEAD_MONITOR_MESSAGE_HEADMONITORFEEDBACK_H
00260