00001
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMFEEDBACK_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMFEEDBACK_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
00018 namespace arm_navigation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct MoveArmFeedback_ {
00022 typedef MoveArmFeedback_<ContainerAllocator> Type;
00023
00024 MoveArmFeedback_()
00025 : state()
00026 , time_to_completion()
00027 {
00028 }
00029
00030 MoveArmFeedback_(const ContainerAllocator& _alloc)
00031 : state(_alloc)
00032 , time_to_completion()
00033 {
00034 }
00035
00036 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _state_type;
00037 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > state;
00038
00039 typedef ros::Duration _time_to_completion_type;
00040 ros::Duration time_to_completion;
00041
00042
00043 private:
00044 static const char* __s_getDataType_() { return "arm_navigation_msgs/MoveArmFeedback"; }
00045 public:
00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00047
00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00049
00050 private:
00051 static const char* __s_getMD5Sum_() { return "321f3feadd0d5c1b7d7135738e673560"; }
00052 public:
00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00054
00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00056
00057 private:
00058 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00059 # The internal state that the move arm action currently is in\n\
00060 string state\n\
00061 \n\
00062 # Time to completion - this is a combination of requested planning time and trajectory completion time\n\
00063 duration time_to_completion\n\
00064 \n\
00065 \n\
00066 "; }
00067 public:
00068 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00069
00070 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00071
00072 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00073 {
00074 ros::serialization::OStream stream(write_ptr, 1000000000);
00075 ros::serialization::serialize(stream, state);
00076 ros::serialization::serialize(stream, time_to_completion);
00077 return stream.getData();
00078 }
00079
00080 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00081 {
00082 ros::serialization::IStream stream(read_ptr, 1000000000);
00083 ros::serialization::deserialize(stream, state);
00084 ros::serialization::deserialize(stream, time_to_completion);
00085 return stream.getData();
00086 }
00087
00088 ROS_DEPRECATED virtual uint32_t serializationLength() const
00089 {
00090 uint32_t size = 0;
00091 size += ros::serialization::serializationLength(state);
00092 size += ros::serialization::serializationLength(time_to_completion);
00093 return size;
00094 }
00095
00096 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> > Ptr;
00097 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> const> ConstPtr;
00098 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00099 };
00100 typedef ::arm_navigation_msgs::MoveArmFeedback_<std::allocator<void> > MoveArmFeedback;
00101
00102 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmFeedback> MoveArmFeedbackPtr;
00103 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmFeedback const> MoveArmFeedbackConstPtr;
00104
00105
00106 template<typename ContainerAllocator>
00107 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> & v)
00108 {
00109 ros::message_operations::Printer< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> >::stream(s, "", v);
00110 return s;}
00111
00112 }
00113
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "321f3feadd0d5c1b7d7135738e673560";
00125 }
00126
00127 static const char* value(const ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> &) { return value(); }
00128 static const uint64_t static_value1 = 0x321f3feadd0d5c1bULL;
00129 static const uint64_t static_value2 = 0x7d7135738e673560ULL;
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct DataType< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "arm_navigation_msgs/MoveArmFeedback";
00137 }
00138
00139 static const char* value(const ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct Definition< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00147 # The internal state that the move arm action currently is in\n\
00148 string state\n\
00149 \n\
00150 # Time to completion - this is a combination of requested planning time and trajectory completion time\n\
00151 duration time_to_completion\n\
00152 \n\
00153 \n\
00154 ";
00155 }
00156
00157 static const char* value(const ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 }
00161 }
00162
00163 namespace ros
00164 {
00165 namespace serialization
00166 {
00167
00168 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> >
00169 {
00170 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00171 {
00172 stream.next(m.state);
00173 stream.next(m.time_to_completion);
00174 }
00175
00176 ROS_DECLARE_ALLINONE_SERIALIZER;
00177 };
00178 }
00179 }
00180
00181 namespace ros
00182 {
00183 namespace message_operations
00184 {
00185
00186 template<class ContainerAllocator>
00187 struct Printer< ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> >
00188 {
00189 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::MoveArmFeedback_<ContainerAllocator> & v)
00190 {
00191 s << indent << "state: ";
00192 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.state);
00193 s << indent << "time_to_completion: ";
00194 Printer<ros::Duration>::stream(s, indent + " ", v.time_to_completion);
00195 }
00196 };
00197
00198
00199 }
00200 }
00201
00202 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMFEEDBACK_H
00203