hmbdc
simplify-high-performance-messaging-programming
Public Member Functions | List of all members
hmbdc::time::TimerManager Struct Reference
Inheritance diagram for hmbdc::time::TimerManager:
hmbdc::app::tcpcast::recvtransportengine_detail::RecvTransportEngine< OutputBuffer, MsgArbitrator > hmbdc::app::tcpcast::send_detail::SendTransportEngine hmbdc::app::utils::netperf_detail::PeriodicReporter hmbdc::app::utils::netperf_detail::ReceiverClient hmbdc::app::utils::netperf_detail::SenderClient

Public Member Functions

void schedule (SysTime fireAt, Timer &timer)
 schedule the timer to start at a specific time More...
 
void cancel (Timer &timer)
 cancel a timer previously scheduled with the TimerManager More...
 

Detailed Description

Examples:
server-cluster.cpp.

Member Function Documentation

◆ cancel()

void hmbdc::time::TimerManager::cancel ( Timer timer)
inline

cancel a timer previously scheduled with the TimerManager

if not scheduled, no effect

Parameters
timerto be canceled

◆ schedule()

void hmbdc::time::TimerManager::schedule ( SysTime  fireAt,
Timer timer 
)
inline

schedule the timer to start at a specific time

make sure the Timer is not already scheduled otherwise undefined behavior

Parameters
fireAtthe firing time
timerthe timer to fire

The documentation for this struct was generated from the following file: