The Heartbeat class Make sure both devices are still alive.
More...
#include <Driver/DriverComponents/Heartbeat.h>
The Heartbeat class Make sure both devices are still alive.
Definition at line 23 of file Heartbeat.h.
◆ Heartbeat()
Heartbeat::Heartbeat |
( |
std::function< void(void)> |
callback, |
|
|
pMessageProcessor |
messageProcessor |
|
) |
| |
◆ handleHearthbeatMessage()
void Heartbeat::handleHearthbeatMessage |
( |
const google::protobuf::Message & |
message | ) |
|
|
protected |
◆ hearthbeatDieTimerTimeout()
void Heartbeat::hearthbeatDieTimerTimeout |
( |
| ) |
|
|
protected |
◆ hearthbeatTimerTimeout()
void Heartbeat::hearthbeatTimerTimeout |
( |
| ) |
|
|
protected |
◆ process()
void Heartbeat::process |
( |
| ) |
|
◆ reset()
void Heartbeat::reset |
( |
| ) |
|
|
virtual |
◆ m_callback
std::function<void(void)> Heartbeat::m_callback |
|
private |
◆ m_hearthbeatDieTimer
Timer Heartbeat::m_hearthbeatDieTimer |
|
private |
◆ m_hearthbeatTimer
Timer Heartbeat::m_hearthbeatTimer |
|
private |