5 #ifndef ROSGRAPH_MSGS_MESSAGE_TOPICSTATISTICS_H 6 #define ROSGRAPH_MSGS_MESSAGE_TOPICSTATISTICS_H 21 template <
class ContainerAllocator>
62 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_topic_type;
65 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_node_pub_type;
68 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_node_sub_type;
121 template<
typename ContainerAllocator>
122 std::ostream& operator<<(std::ostream& s, const ::rosgraph_msgs::TopicStatistics_<ContainerAllocator> &
v)
132 namespace message_traits
145 template <
class ContainerAllocator>
150 template <
class ContainerAllocator>
155 template <
class ContainerAllocator>
160 template <
class ContainerAllocator>
165 template <
class ContainerAllocator>
170 template <
class ContainerAllocator>
176 template<
class ContainerAllocator>
181 return "10152ed868c5097a5e2e4a89d7daa710";
184 static const char*
value(const ::rosgraph_msgs::TopicStatistics_<ContainerAllocator>&) {
return value(); }
185 static const uint64_t static_value1 = 0x10152ed868c5097aULL;
186 static const uint64_t static_value2 = 0x5e2e4a89d7daa710ULL;
189 template<
class ContainerAllocator>
194 return "rosgraph_msgs/TopicStatistics";
197 static const char*
value(const ::rosgraph_msgs::TopicStatistics_<ContainerAllocator>&) {
return value(); }
200 template<
class ContainerAllocator>
205 return "# name of the topic\n\ 208 # node id of the publisher\n\ 211 # node id of the subscriber\n\ 214 # the statistics apply to this time window\n\ 218 # number of messages delivered during the window\n\ 219 int32 delivered_msgs\n\ 220 # numbers of messages dropped during the window\n\ 221 int32 dropped_msgs\n\ 223 # traffic during the window, in bytes\n\ 226 # mean/stddev/max period between two messages\n\ 227 duration period_mean\n\ 228 duration period_stddev\n\ 229 duration period_max\n\ 231 # mean/stddev/max age of the message based on the\n\ 232 # timestamp in the message header. In case the\n\ 233 # message does not have a header, it will be 0.\n\ 234 duration stamp_age_mean\n\ 235 duration stamp_age_stddev\n\ 236 duration stamp_age_max\n\ 240 static const char*
value(const ::rosgraph_msgs::TopicStatistics_<ContainerAllocator>&) {
return value(); }
248 namespace serialization
255 stream.next(m.topic);
256 stream.next(m.node_pub);
257 stream.next(m.node_sub);
258 stream.next(m.window_start);
259 stream.next(m.window_stop);
260 stream.next(m.delivered_msgs);
261 stream.next(m.dropped_msgs);
262 stream.next(m.traffic);
263 stream.next(m.period_mean);
264 stream.next(m.period_stddev);
265 stream.next(m.period_max);
266 stream.next(m.stamp_age_mean);
267 stream.next(m.stamp_age_stddev);
268 stream.next(m.stamp_age_max);
279 namespace message_operations
282 template<
class ContainerAllocator>
285 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::rosgraph_msgs::TopicStatistics_<ContainerAllocator>&
v)
287 s << indent <<
"topic: ";
289 s << indent <<
"node_pub: ";
291 s << indent <<
"node_sub: ";
293 s << indent <<
"window_start: ";
295 s << indent <<
"window_stop: ";
297 s << indent <<
"delivered_msgs: ";
299 s << indent <<
"dropped_msgs: ";
301 s << indent <<
"traffic: ";
303 s << indent <<
"period_mean: ";
305 s << indent <<
"period_stddev: ";
307 s << indent <<
"period_max: ";
309 s << indent <<
"stamp_age_mean: ";
311 s << indent <<
"stamp_age_stddev: ";
313 s << indent <<
"stamp_age_max: ";
321 #endif // ROSGRAPH_MSGS_MESSAGE_TOPICSTATISTICS_H
_window_start_type window_start
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
rs2rosinternal::Duration _stamp_age_stddev_type
rs2rosinternal::Time _window_stop_type
Specialize to provide the md5sum for a message.
::rosgraph_msgs::TopicStatistics_< std::allocator< void > > TopicStatistics
boost::shared_ptr< ::rosgraph_msgs::TopicStatistics_< ContainerAllocator > const > ConstPtr
boost::shared_ptr< ::rosgraph_msgs::TopicStatistics > TopicStatisticsPtr
_dropped_msgs_type dropped_msgs
int32_t _dropped_msgs_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
TopicStatistics_(const ContainerAllocator &_alloc)
rs2rosinternal::Time _window_start_type
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
boost::shared_ptr< ::rosgraph_msgs::TopicStatistics const > TopicStatisticsConstPtr
Duration representation for use with the Time class.
Stream base-class, provides common functionality for IStream and OStream.
TopicStatistics_< ContainerAllocator > Type
_stamp_age_mean_type stamp_age_mean
rs2rosinternal::Duration _period_mean_type
rs2rosinternal::Duration _stamp_age_max_type
_stamp_age_max_type stamp_age_max
static void stream(Stream &s, const std::string &indent, const ::rosgraph_msgs::TopicStatistics_< ContainerAllocator > &v)
Time representation. May either represent wall clock time or ROS clock time.
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
rs2rosinternal::Duration _stamp_age_mean_type
rs2rosinternal::Duration _period_stddev_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _node_pub_type
_delivered_msgs_type delivered_msgs
_stamp_age_stddev_type stamp_age_stddev
static const char * value()
_window_stop_type window_stop
static const char * value(const ::rosgraph_msgs::TopicStatistics_< ContainerAllocator > &)
static const char * value(const ::rosgraph_msgs::TopicStatistics_< ContainerAllocator > &)
static const char * value(const ::rosgraph_msgs::TopicStatistics_< ContainerAllocator > &)
boost::shared_ptr< ::rosgraph_msgs::TopicStatistics_< ContainerAllocator > > Ptr
static const char * value()
_period_mean_type period_mean
rs2rosinternal::Duration _period_max_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _node_sub_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _topic_type
_period_max_type period_max
int32_t _delivered_msgs_type
_period_stddev_type period_stddev
static const char * value()
static void allInOne(Stream &stream, T m)