Go to the documentation of this file.00001
00002 #ifndef COB_SOUND_MESSAGE_SAYGOAL_H
00003 #define COB_SOUND_MESSAGE_SAYGOAL_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 "std_msgs/String.h"
00018
00019 namespace cob_sound
00020 {
00021 template <class ContainerAllocator>
00022 struct SayGoal_ {
00023 typedef SayGoal_<ContainerAllocator> Type;
00024
00025 SayGoal_()
00026 : text()
00027 {
00028 }
00029
00030 SayGoal_(const ContainerAllocator& _alloc)
00031 : text(_alloc)
00032 {
00033 }
00034
00035 typedef ::std_msgs::String_<ContainerAllocator> _text_type;
00036 ::std_msgs::String_<ContainerAllocator> text;
00037
00038
00039 typedef boost::shared_ptr< ::cob_sound::SayGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::cob_sound::SayGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::cob_sound::SayGoal_<std::allocator<void> > SayGoal;
00044
00045 typedef boost::shared_ptr< ::cob_sound::SayGoal> SayGoalPtr;
00046 typedef boost::shared_ptr< ::cob_sound::SayGoal const> SayGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::cob_sound::SayGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::cob_sound::SayGoal_<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< ::cob_sound::SayGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::cob_sound::SayGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::cob_sound::SayGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "7fb91077b93c329c9eeaea1c488c03e0";
00068 }
00069
00070 static const char* value(const ::cob_sound::SayGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x7fb91077b93c329cULL;
00072 static const uint64_t static_value2 = 0x9eeaea1c488c03e0ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::cob_sound::SayGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "cob_sound/SayGoal";
00080 }
00081
00082 static const char* value(const ::cob_sound::SayGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::cob_sound::SayGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # goal\n\
00091 std_msgs/String text\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: std_msgs/String\n\
00095 string data\n\
00096 \n\
00097 ";
00098 }
00099
00100 static const char* value(const ::cob_sound::SayGoal_<ContainerAllocator> &) { return value(); }
00101 };
00102
00103 }
00104 }
00105
00106 namespace ros
00107 {
00108 namespace serialization
00109 {
00110
00111 template<class ContainerAllocator> struct Serializer< ::cob_sound::SayGoal_<ContainerAllocator> >
00112 {
00113 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00114 {
00115 stream.next(m.text);
00116 }
00117
00118 ROS_DECLARE_ALLINONE_SERIALIZER;
00119 };
00120 }
00121 }
00122
00123 namespace ros
00124 {
00125 namespace message_operations
00126 {
00127
00128 template<class ContainerAllocator>
00129 struct Printer< ::cob_sound::SayGoal_<ContainerAllocator> >
00130 {
00131 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_sound::SayGoal_<ContainerAllocator> & v)
00132 {
00133 s << indent << "text: ";
00134 s << std::endl;
00135 Printer< ::std_msgs::String_<ContainerAllocator> >::stream(s, indent + " ", v.text);
00136 }
00137 };
00138
00139
00140 }
00141 }
00142
00143 #endif // COB_SOUND_MESSAGE_SAYGOAL_H
00144