Go to the documentation of this file.00001
00002 #ifndef TELEKYB_MSGS_MESSAGE_MKVALUES_H
00003 #define TELEKYB_MSGS_MESSAGE_MKVALUES_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/Header.h"
00018 #include "telekyb_msgs/MKValue.h"
00019
00020 namespace telekyb_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct MKValues_ {
00024 typedef MKValues_<ContainerAllocator> Type;
00025
00026 MKValues_()
00027 : header()
00028 , values()
00029 {
00030 }
00031
00032 MKValues_(const ContainerAllocator& _alloc)
00033 : header(_alloc)
00034 , values(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef std::vector< ::telekyb_msgs::MKValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::telekyb_msgs::MKValue_<ContainerAllocator> >::other > _values_type;
00042 std::vector< ::telekyb_msgs::MKValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::telekyb_msgs::MKValue_<ContainerAllocator> >::other > values;
00043
00044
00045 typedef boost::shared_ptr< ::telekyb_msgs::MKValues_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::telekyb_msgs::MKValues_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::telekyb_msgs::MKValues_<std::allocator<void> > MKValues;
00050
00051 typedef boost::shared_ptr< ::telekyb_msgs::MKValues> MKValuesPtr;
00052 typedef boost::shared_ptr< ::telekyb_msgs::MKValues const> MKValuesConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::telekyb_msgs::MKValues_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::telekyb_msgs::MKValues_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::telekyb_msgs::MKValues_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::telekyb_msgs::MKValues_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::telekyb_msgs::MKValues_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "afaef65507ef259ceac9248f30bd2d9f";
00074 }
00075
00076 static const char* value(const ::telekyb_msgs::MKValues_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xafaef65507ef259cULL;
00078 static const uint64_t static_value2 = 0xeac9248f30bd2d9fULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::telekyb_msgs::MKValues_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "telekyb_msgs/MKValues";
00086 }
00087
00088 static const char* value(const ::telekyb_msgs::MKValues_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::telekyb_msgs::MKValues_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "#\n\
00096 # Copyright 2011 Antonio Franchi and Martin Riedel \n\
00097 #\n\
00098 # This file is part of TeleKyb.\n\
00099 #\n\
00100 # TeleKyb is free software: you can redistribute it and/or modify\n\
00101 # it under the terms of the GNU General Public License as published by\n\
00102 # the Free Software Foundation, either version 3 of the License, or\n\
00103 # (at your option) any later version.\n\
00104 #\n\
00105 # TeleKyb is distributed in the hope that it will be useful,\n\
00106 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00107 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
00108 # GNU General Public License for more details.\n\
00109 #\n\
00110 # You should have received a copy of the GNU General Public License\n\
00111 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00112 \n\
00113 Header header\n\
00114 telekyb_msgs/MKValue[] values\n\
00115 \n\
00116 #\n\
00117 #\n\
00118 ================================================================================\n\
00119 MSG: std_msgs/Header\n\
00120 # Standard metadata for higher-level stamped data types.\n\
00121 # This is generally used to communicate timestamped data \n\
00122 # in a particular coordinate frame.\n\
00123 # \n\
00124 # sequence ID: consecutively increasing ID \n\
00125 uint32 seq\n\
00126 #Two-integer timestamp that is expressed as:\n\
00127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00129 # time-handling sugar is provided by the client library\n\
00130 time stamp\n\
00131 #Frame this data is associated with\n\
00132 # 0: no frame\n\
00133 # 1: global frame\n\
00134 string frame_id\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: telekyb_msgs/MKValue\n\
00138 #\n\
00139 # Copyright 2011 Antonio Franchi and Martin Riedel \n\
00140 #\n\
00141 # This file is part of TeleKyb.\n\
00142 #\n\
00143 # TeleKyb is free software: you can redistribute it and/or modify\n\
00144 # it under the terms of the GNU General Public License as published by\n\
00145 # the Free Software Foundation, either version 3 of the License, or\n\
00146 # (at your option) any later version.\n\
00147 #\n\
00148 # TeleKyb is distributed in the hope that it will be useful,\n\
00149 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00150 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
00151 # GNU General Public License for more details.\n\
00152 #\n\
00153 # You should have received a copy of the GNU General Public License\n\
00154 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00155 \n\
00156 string name\n\
00157 time stamp\n\
00158 int16 id\n\
00159 int16 value\n\
00160 \n\
00161 #\n\
00162 #\n\
00163 ";
00164 }
00165
00166 static const char* value(const ::telekyb_msgs::MKValues_<ContainerAllocator> &) { return value(); }
00167 };
00168
00169 template<class ContainerAllocator> struct HasHeader< ::telekyb_msgs::MKValues_<ContainerAllocator> > : public TrueType {};
00170 template<class ContainerAllocator> struct HasHeader< const ::telekyb_msgs::MKValues_<ContainerAllocator> > : public TrueType {};
00171 }
00172 }
00173
00174 namespace ros
00175 {
00176 namespace serialization
00177 {
00178
00179 template<class ContainerAllocator> struct Serializer< ::telekyb_msgs::MKValues_<ContainerAllocator> >
00180 {
00181 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00182 {
00183 stream.next(m.header);
00184 stream.next(m.values);
00185 }
00186
00187 ROS_DECLARE_ALLINONE_SERIALIZER;
00188 };
00189 }
00190 }
00191
00192 namespace ros
00193 {
00194 namespace message_operations
00195 {
00196
00197 template<class ContainerAllocator>
00198 struct Printer< ::telekyb_msgs::MKValues_<ContainerAllocator> >
00199 {
00200 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::telekyb_msgs::MKValues_<ContainerAllocator> & v)
00201 {
00202 s << indent << "header: ";
00203 s << std::endl;
00204 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00205 s << indent << "values[]" << std::endl;
00206 for (size_t i = 0; i < v.values.size(); ++i)
00207 {
00208 s << indent << " values[" << i << "]: ";
00209 s << std::endl;
00210 s << indent;
00211 Printer< ::telekyb_msgs::MKValue_<ContainerAllocator> >::stream(s, indent + " ", v.values[i]);
00212 }
00213 }
00214 };
00215
00216
00217 }
00218 }
00219
00220 #endif // TELEKYB_MSGS_MESSAGE_MKVALUES_H
00221