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