iodrivers_base
Status.hpp
Go to the documentation of this file.
1 #ifndef IODRIVERS_BASE_STATUS_HPP
2 #define IODRIVERS_BASE_STATUS_HPP
3 
4 #include <base/Time.hpp>
5 
6 namespace iodrivers_base {
8  struct Status
9  {
10  base::Time stamp;
11 
12  unsigned int tx;
13  unsigned int good_rx;
14  unsigned int bad_rx;
15  unsigned int queued_bytes;
16 
18  : tx(0), good_rx(0), bad_rx(0), queued_bytes(0) {}
19  };
20 }
21 
22 #endif
23 
unsigned int queued_bytes
count of bytes received and rejected
Definition: Status.hpp:15
base::Time stamp
Definition: Status.hpp:10
Definition: Bus.hpp:9
Definition: Status.hpp:8
Status()
count of bytes currently queued in the driver&#39;s internal buffer
Definition: Status.hpp:17
unsigned int good_rx
count of bytes received
Definition: Status.hpp:13
unsigned int bad_rx
count of bytes received and accepted
Definition: Status.hpp:14
unsigned int tx
Definition: Status.hpp:12