00001
00002 #ifndef ACTIONLIB_MESSAGE_TESTFEEDBACK_H
00003 #define ACTIONLIB_MESSAGE_TESTFEEDBACK_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
00014 namespace actionlib
00015 {
00016 template <class ContainerAllocator>
00017 struct TestFeedback_ : public ros::Message
00018 {
00019 typedef TestFeedback_<ContainerAllocator> Type;
00020
00021 TestFeedback_()
00022 : feedback(0)
00023 {
00024 }
00025
00026 TestFeedback_(const ContainerAllocator& _alloc)
00027 : feedback(0)
00028 {
00029 }
00030
00031 typedef int32_t _feedback_type;
00032 int32_t feedback;
00033
00034
00035 private:
00036 static const char* __s_getDataType_() { return "actionlib/TestFeedback"; }
00037 public:
00038 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00039
00040 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00041
00042 private:
00043 static const char* __s_getMD5Sum_() { return "49ceb5b32ea3af22073ede4a0328249e"; }
00044 public:
00045 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00046
00047 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00048
00049 private:
00050 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00051 int32 feedback\n\
00052 \n\
00053 \n\
00054 "; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00057
00058 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00059
00060 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00061 {
00062 ros::serialization::OStream stream(write_ptr, 1000000000);
00063 ros::serialization::serialize(stream, feedback);
00064 return stream.getData();
00065 }
00066
00067 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00068 {
00069 ros::serialization::IStream stream(read_ptr, 1000000000);
00070 ros::serialization::deserialize(stream, feedback);
00071 return stream.getData();
00072 }
00073
00074 ROS_DEPRECATED virtual uint32_t serializationLength() const
00075 {
00076 uint32_t size = 0;
00077 size += ros::serialization::serializationLength(feedback);
00078 return size;
00079 }
00080
00081 typedef boost::shared_ptr< ::actionlib::TestFeedback_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::actionlib::TestFeedback_<ContainerAllocator> const> ConstPtr;
00083 };
00084 typedef ::actionlib::TestFeedback_<std::allocator<void> > TestFeedback;
00085
00086 typedef boost::shared_ptr< ::actionlib::TestFeedback> TestFeedbackPtr;
00087 typedef boost::shared_ptr< ::actionlib::TestFeedback const> TestFeedbackConstPtr;
00088
00089
00090 template<typename ContainerAllocator>
00091 std::ostream& operator<<(std::ostream& s, const ::actionlib::TestFeedback_<ContainerAllocator> & v)
00092 {
00093 ros::message_operations::Printer< ::actionlib::TestFeedback_<ContainerAllocator> >::stream(s, "", v);
00094 return s;}
00095
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::actionlib::TestFeedback_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "49ceb5b32ea3af22073ede4a0328249e";
00107 }
00108
00109 static const char* value(const ::actionlib::TestFeedback_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0x49ceb5b32ea3af22ULL;
00111 static const uint64_t static_value2 = 0x073ede4a0328249eULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::actionlib::TestFeedback_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "actionlib/TestFeedback";
00119 }
00120
00121 static const char* value(const ::actionlib::TestFeedback_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::actionlib::TestFeedback_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00129 int32 feedback\n\
00130 \n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::actionlib::TestFeedback_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 template<class ContainerAllocator> struct IsFixedSize< ::actionlib::TestFeedback_<ContainerAllocator> > : public TrueType {};
00139 }
00140 }
00141
00142 namespace ros
00143 {
00144 namespace serialization
00145 {
00146
00147 template<class ContainerAllocator> struct Serializer< ::actionlib::TestFeedback_<ContainerAllocator> >
00148 {
00149 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00150 {
00151 stream.next(m.feedback);
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< ::actionlib::TestFeedback_<ContainerAllocator> >
00166 {
00167 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::actionlib::TestFeedback_<ContainerAllocator> & v)
00168 {
00169 s << indent << "feedback: ";
00170 Printer<int32_t>::stream(s, indent + " ", v.feedback);
00171 }
00172 };
00173
00174
00175 }
00176 }
00177
00178 #endif // ACTIONLIB_MESSAGE_TESTFEEDBACK_H
00179