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::tips::rmcast::recvtransportengine_detail::RecvTransportImpl< OutputBuffer, AttachmentAllocator > hmbdc::tips::rmcast::sendtransportengine_detail::SendTransport hmbdc::tips::rnetmap::recvtransportengine_detail::RecvTransportImpl< OutputBuffer, AttachmentAllocator > hmbdc::tips::rnetmap::sendtransportengine_detail::SendTransport hmbdc::tips::tcpcast::recvtransportengine_detail::RecvTransportEngine< OutputBuffer, AttachmentAllocator > hmbdc::tips::tcpcast::send_detail::SendTransportEngine hmbdc::tips::rmcast::recvtransportengine_detail::RecvTransportEngine< OutputBuffer, AttachmentAllocator > hmbdc::tips::rmcast::sendtransportengine_detail::SendTransportEngine hmbdc::tips::rnetmap::recvtransportengine_detail::RecvTransportEngine< OutputBuffer, AttachmentAllocator > hmbdc::tips::rnetmap::sendtransportengine_detail::SendTransportEngine

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...
 

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: