Go to the documentation of this file.
6 #ifndef DIAGNOSTIC_MSGS_MESSAGE_DIAGNOSTICSTATUS_H
7 #define DIAGNOSTIC_MSGS_MESSAGE_DIAGNOSTICSTATUS_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
49 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_name_type;
52 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_message_type;
55 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_hardware_id_type;
58 typedef std::vector< ::diagnostic_msgs::KeyValue_<ContainerAllocator>,
typename ContainerAllocator::template rebind< ::diagnostic_msgs::KeyValue_<ContainerAllocator> >::other >
_values_type;
68 typedef std::shared_ptr< ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator> >
Ptr;
69 typedef std::shared_ptr< ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator>
const>
ConstPtr;
90 template<
typename ContainerAllocator>
91 std::ostream&
operator<<(std::ostream& s, const ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator> & v)
101 namespace message_traits
114 template <
class ContainerAllocator>
119 template <
class ContainerAllocator>
124 template <
class ContainerAllocator>
129 template <
class ContainerAllocator>
134 template <
class ContainerAllocator>
139 template <
class ContainerAllocator>
145 template<
class ContainerAllocator>
150 return "d0ce08bc6e5ba34c7754f563a9cabaf1";
153 static const char*
value(const ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator>&) {
return value(); }
154 static const uint64_t static_value1 = 0xd0ce08bc6e5ba34cULL;
155 static const uint64_t static_value2 = 0x7754f563a9cabaf1ULL;
158 template<
class ContainerAllocator>
163 return "diagnostic_msgs/DiagnosticStatus";
166 static const char*
value(const ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator>&) {
return value(); }
169 template<
class ContainerAllocator>
174 return "# This message holds the status of an individual component of the robot.\n\
177 # Possible levels of operations\n\
183 byte level # level of operation enumerated above \n\
184 string name # a description of the test/component reporting\n\
185 string message # a description of the status\n\
186 string hardware_id # a hardware unique string\n\
187 KeyValue[] values # an array of values associated with the status\n\
190 ================================================================================\n\
191 MSG: diagnostic_msgs/KeyValue\n\
192 string key # what to label this value when viewing\n\
193 string value # a value to track over time\n\
197 static const char*
value(const ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator>&) {
return value(); }
205 namespace serialization
210 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
212 stream.next(m.level);
214 stream.next(m.message);
215 stream.next(m.hardware_id);
216 stream.next(m.values);
227 namespace message_operations
230 template<
class ContainerAllocator>
233 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator>& v)
241 s <<
indent <<
"hardware_id: ";
243 s <<
indent <<
"values[]" << std::endl;
244 for (
size_t i = 0; i < v.values.size(); ++i)
246 s <<
indent <<
" values[" << i <<
"]: ";
257 #endif // DIAGNOSTIC_MSGS_MESSAGE_DIAGNOSTICSTATUS_H
static const char * value()
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 const char * value()
static const char * value(const ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator > &)
std::shared_ptr< ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator > > Ptr
DiagnosticStatus_< ContainerAllocator > Type
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...
::diagnostic_msgs::DiagnosticStatus_< std::allocator< void > > DiagnosticStatus
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static void allInOne(Stream &stream, T m)
static const char * value(const ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator > &)
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
std::vector< ::diagnostic_msgs::KeyValue_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::diagnostic_msgs::KeyValue_< ContainerAllocator > >::other > _values_type
std::shared_ptr< ::diagnostic_msgs::DiagnosticStatus const > DiagnosticStatusConstPtr
static const char * value(const ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator > &)
std::ostream & operator<<(std::ostream &s, const ::diagnostic_msgs::AddDiagnosticsRequest_< ContainerAllocator > &v)
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _name_type
static void stream(Stream &s, const std::string &indent, const ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator > &v)
std::shared_ptr< ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator > const > ConstPtr
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _hardware_id_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
_hardware_id_type hardware_id
std::shared_ptr< ::diagnostic_msgs::DiagnosticStatus > DiagnosticStatusPtr
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _message_type
Stream base-class, provides common functionality for IStream and OStream.
static const char * value()
DiagnosticStatus_(const ContainerAllocator &_alloc)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08