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