#include <event_counter.h>
Public Member Functions | |
bool | consume (RTState_V1_6__7 &state) |
bool | consume (RTState_V1_8 &state) |
bool | consume (RTState_V3_0__1 &state) |
bool | consume (RTState_V3_2__3 &state) |
void | setupConsumer () |
void | stopConsumer () |
void | teardownConsumer () |
void | trigger () |
Public Member Functions inherited from URRTPacketConsumer | |
virtual bool | consume (shared_ptr< RTPacket > packet) |
Public Member Functions inherited from IConsumer< RTPacket > | |
virtual void | onTimeout () |
Private Types | |
typedef std::chrono::high_resolution_clock | Clock |
Private Attributes | |
Clock::time_point | events_ [250] |
size_t | idx_ = 0 |
Clock::time_point | last_ |
Definition at line 26 of file event_counter.h.
|
private |
Definition at line 29 of file event_counter.h.
|
inlinevirtual |
Implements URRTPacketConsumer.
Definition at line 71 of file event_counter.h.
|
inlinevirtual |
Implements URRTPacketConsumer.
Definition at line 76 of file event_counter.h.
|
inlinevirtual |
Implements URRTPacketConsumer.
Definition at line 81 of file event_counter.h.
|
inlinevirtual |
Implements URRTPacketConsumer.
Definition at line 86 of file event_counter.h.
|
inlinevirtual |
Reimplemented from IConsumer< RTPacket >.
Definition at line 92 of file event_counter.h.
|
inlinevirtual |
Reimplemented from IConsumer< RTPacket >.
Definition at line 99 of file event_counter.h.
|
inlinevirtual |
Reimplemented from IConsumer< RTPacket >.
Definition at line 96 of file event_counter.h.
|
inline |
Definition at line 36 of file event_counter.h.
|
private |
Definition at line 30 of file event_counter.h.
|
private |
Definition at line 31 of file event_counter.h.
|
private |
Definition at line 33 of file event_counter.h.