00001
00002 #ifndef COGMAN_MSGS_MESSAGE_STRINGSRESULT_H
00003 #define COGMAN_MSGS_MESSAGE_STRINGSRESULT_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 cogman_msgs
00015 {
00016 template <class ContainerAllocator>
00017 struct StringsResult_ : public ros::Message
00018 {
00019 typedef StringsResult_<ContainerAllocator> Type;
00020
00021 StringsResult_()
00022 : answer()
00023 {
00024 }
00025
00026 StringsResult_(const ContainerAllocator& _alloc)
00027 : answer(_alloc)
00028 {
00029 }
00030
00031 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _answer_type;
00032 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > answer;
00033
00034
00035 private:
00036 static const char* __s_getDataType_() { return "cogman_msgs/StringsResult"; }
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 "d7e708f879c94bb931716d8f4f130f30"; }
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 #result\n\
00052 string answer\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, answer);
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, answer);
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(answer);
00078 return size;
00079 }
00080
00081 typedef boost::shared_ptr< ::cogman_msgs::StringsResult_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::cogman_msgs::StringsResult_<ContainerAllocator> const> ConstPtr;
00083 };
00084 typedef ::cogman_msgs::StringsResult_<std::allocator<void> > StringsResult;
00085
00086 typedef boost::shared_ptr< ::cogman_msgs::StringsResult> StringsResultPtr;
00087 typedef boost::shared_ptr< ::cogman_msgs::StringsResult const> StringsResultConstPtr;
00088
00089
00090 template<typename ContainerAllocator>
00091 std::ostream& operator<<(std::ostream& s, const ::cogman_msgs::StringsResult_<ContainerAllocator> & v)
00092 {
00093 ros::message_operations::Printer< ::cogman_msgs::StringsResult_<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< ::cogman_msgs::StringsResult_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "d7e708f879c94bb931716d8f4f130f30";
00107 }
00108
00109 static const char* value(const ::cogman_msgs::StringsResult_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0xd7e708f879c94bb9ULL;
00111 static const uint64_t static_value2 = 0x31716d8f4f130f30ULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::cogman_msgs::StringsResult_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "cogman_msgs/StringsResult";
00119 }
00120
00121 static const char* value(const ::cogman_msgs::StringsResult_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::cogman_msgs::StringsResult_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00129 #result\n\
00130 string answer\n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::cogman_msgs::StringsResult_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 }
00139 }
00140
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145
00146 template<class ContainerAllocator> struct Serializer< ::cogman_msgs::StringsResult_<ContainerAllocator> >
00147 {
00148 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149 {
00150 stream.next(m.answer);
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< ::cogman_msgs::StringsResult_<ContainerAllocator> >
00165 {
00166 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cogman_msgs::StringsResult_<ContainerAllocator> & v)
00167 {
00168 s << indent << "answer: ";
00169 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.answer);
00170 }
00171 };
00172
00173
00174 }
00175 }
00176
00177 #endif // COGMAN_MSGS_MESSAGE_STRINGSRESULT_H
00178