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