Go to the documentation of this file.
6 #ifndef DIAGNOSTIC_MSGS_MESSAGE_DIAGNOSTICARRAY_H
7 #define DIAGNOSTIC_MSGS_MESSAGE_DIAGNOSTICARRAY_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
24 template <
class ContainerAllocator>
44 typedef std::vector< ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::diagnostic_msgs::DiagnosticStatus_<ContainerAllocator> >::other >
_status_type;
50 typedef std::shared_ptr< ::diagnostic_msgs::DiagnosticArray_<ContainerAllocator> >
Ptr;
51 typedef std::shared_ptr< ::diagnostic_msgs::DiagnosticArray_<ContainerAllocator>
const>
ConstPtr;
55 typedef ::diagnostic_msgs::DiagnosticArray_<std::allocator<void> >
DiagnosticArray;
64 template<
typename ContainerAllocator>
65 std::ostream&
operator<<(std::ostream& s, const ::diagnostic_msgs::DiagnosticArray_<ContainerAllocator> & v)
75 namespace message_traits
88 template <
class ContainerAllocator>
93 template <
class ContainerAllocator>
98 template <
class ContainerAllocator>
103 template <
class ContainerAllocator>
108 template <
class ContainerAllocator>
113 template <
class ContainerAllocator>
119 template<
class ContainerAllocator>
124 return "60810da900de1dd6ddd437c3503511da";
127 static const char*
value(const ::diagnostic_msgs::DiagnosticArray_<ContainerAllocator>&) {
return value(); }
128 static const uint64_t static_value1 = 0x60810da900de1dd6ULL;
129 static const uint64_t static_value2 = 0xddd437c3503511daULL;
132 template<
class ContainerAllocator>
137 return "diagnostic_msgs/DiagnosticArray";
140 static const char*
value(const ::diagnostic_msgs::DiagnosticArray_<ContainerAllocator>&) {
return value(); }
143 template<
class ContainerAllocator>
148 return "# This message is used to send diagnostic information about the state of the robot\n\
149 Header header #for timestamp\n\
150 DiagnosticStatus[] status # an array of components being reported on\n\
151 ================================================================================\n\
152 MSG: std_msgs/Header\n\
153 # Standard metadata for higher-level stamped data types.\n\
154 # This is generally used to communicate timestamped data \n\
155 # in a particular coordinate frame.\n\
157 # sequence ID: consecutively increasing ID \n\
159 #Two-integer timestamp that is expressed as:\n\
160 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
161 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
162 # time-handling sugar is provided by the client library\n\
164 #Frame this data is associated with\n\
169 ================================================================================\n\
170 MSG: diagnostic_msgs/DiagnosticStatus\n\
171 # This message holds the status of an individual component of the robot.\n\
174 # Possible levels of operations\n\
180 byte level # level of operation enumerated above \n\
181 string name # a description of the test/component reporting\n\
182 string message # a description of the status\n\
183 string hardware_id # a hardware unique string\n\
184 KeyValue[] values # an array of values associated with the status\n\
187 ================================================================================\n\
188 MSG: diagnostic_msgs/KeyValue\n\
189 string key # what to label this value when viewing\n\
190 string value # a value to track over time\n\
194 static const char*
value(const ::diagnostic_msgs::DiagnosticArray_<ContainerAllocator>&) {
return value(); }
202 namespace serialization
207 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
209 stream.next(m.header);
210 stream.next(m.status);
221 namespace message_operations
224 template<
class ContainerAllocator>
227 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::diagnostic_msgs::DiagnosticArray_<ContainerAllocator>& v)
232 s <<
indent <<
"status[]" << std::endl;
233 for (
size_t i = 0; i < v.status.size(); ++i)
235 s <<
indent <<
" status[" << i <<
"]: ";
246 #endif // DIAGNOSTIC_MSGS_MESSAGE_DIAGNOSTICARRAY_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
::std_msgs::Header_< ContainerAllocator > _header_type
static const char * value()
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::diagnostic_msgs::DiagnosticArray_< ContainerAllocator > &)
static const char * value(const ::diagnostic_msgs::DiagnosticArray_< ContainerAllocator > &)
std::shared_ptr< ::diagnostic_msgs::DiagnosticArray_< ContainerAllocator > const > ConstPtr
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 void stream(Stream &s, const std::string &indent, const ::diagnostic_msgs::DiagnosticArray_< ContainerAllocator > &v)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
std::shared_ptr< ::diagnostic_msgs::DiagnosticArray const > DiagnosticArrayConstPtr
std::ostream & operator<<(std::ostream &s, const ::diagnostic_msgs::AddDiagnosticsRequest_< ContainerAllocator > &v)
DiagnosticArray_(const ContainerAllocator &_alloc)
std::shared_ptr< ::diagnostic_msgs::DiagnosticArray > DiagnosticArrayPtr
std::vector< ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::diagnostic_msgs::DiagnosticStatus_< ContainerAllocator > >::other > _status_type
static void allInOne(Stream &stream, T m)
static const char * value()
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
static const char * value(const ::diagnostic_msgs::DiagnosticArray_< ContainerAllocator > &)
DiagnosticArray_< ContainerAllocator > Type
static const char * value()
Stream base-class, provides common functionality for IStream and OStream.
::diagnostic_msgs::DiagnosticArray_< std::allocator< void > > DiagnosticArray
std::shared_ptr< ::diagnostic_msgs::DiagnosticArray_< ContainerAllocator > > Ptr
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08