Go to the documentation of this file.
6 #ifndef DIAGNOSTIC_MSGS_MESSAGE_KEYVALUE_H
7 #define DIAGNOSTIC_MSGS_MESSAGE_KEYVALUE_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
22 template <
class ContainerAllocator>
39 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_key_type;
42 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_value_type;
48 typedef std::shared_ptr< ::diagnostic_msgs::KeyValue_<ContainerAllocator> >
Ptr;
49 typedef std::shared_ptr< ::diagnostic_msgs::KeyValue_<ContainerAllocator>
const>
ConstPtr;
53 typedef ::diagnostic_msgs::KeyValue_<std::allocator<void> >
KeyValue;
55 typedef std::shared_ptr< ::diagnostic_msgs::KeyValue >
KeyValuePtr;
62 template<
typename ContainerAllocator>
63 std::ostream&
operator<<(std::ostream& s, const ::diagnostic_msgs::KeyValue_<ContainerAllocator> & v)
73 namespace message_traits
86 template <
class ContainerAllocator>
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
111 template <
class ContainerAllocator>
117 template<
class ContainerAllocator>
122 return "cf57fdc6617a881a88c16e768132149c";
125 static const char*
value(const ::diagnostic_msgs::KeyValue_<ContainerAllocator>&) {
return value(); }
126 static const uint64_t static_value1 = 0xcf57fdc6617a881aULL;
127 static const uint64_t static_value2 = 0x88c16e768132149cULL;
130 template<
class ContainerAllocator>
135 return "diagnostic_msgs/KeyValue";
138 static const char*
value(const ::diagnostic_msgs::KeyValue_<ContainerAllocator>&) {
return value(); }
141 template<
class ContainerAllocator>
146 return "string key # what to label this value when viewing\n\
147 string value # a value to track over time\n\
151 static const char*
value(const ::diagnostic_msgs::KeyValue_<ContainerAllocator>&) {
return value(); }
159 namespace serialization
164 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
167 stream.next(m.value);
178 namespace message_operations
181 template<
class ContainerAllocator>
184 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::diagnostic_msgs::KeyValue_<ContainerAllocator>& v)
196 #endif // DIAGNOSTIC_MSGS_MESSAGE_KEYVALUE_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::diagnostic_msgs::KeyValue_< ContainerAllocator > &)
std::shared_ptr< ::diagnostic_msgs::KeyValue_< ContainerAllocator > > Ptr
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
std::shared_ptr< ::diagnostic_msgs::KeyValue_< ContainerAllocator > const > ConstPtr
static const char * value()
Specialize to provide the datatype for a message.
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _value_type
static const char * value()
Specialize to provide the definition for a message.
static const char * value(const ::diagnostic_msgs::KeyValue_< ContainerAllocator > &)
std::ostream & operator<<(std::ostream &s, const ::diagnostic_msgs::AddDiagnosticsRequest_< ContainerAllocator > &v)
KeyValue_< ContainerAllocator > Type
static void stream(Stream &s, const std::string &indent, const ::diagnostic_msgs::KeyValue_< ContainerAllocator > &v)
std::shared_ptr< ::diagnostic_msgs::KeyValue > KeyValuePtr
static void allInOne(Stream &stream, T m)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _key_type
::diagnostic_msgs::KeyValue_< std::allocator< void > > KeyValue
KeyValue_(const ContainerAllocator &_alloc)
static const char * value(const ::diagnostic_msgs::KeyValue_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::diagnostic_msgs::KeyValue const > KeyValueConstPtr
static const char * value()
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08