OnixS C++ FIX Engine 4.14.0
Users' manual and API documentation
Loading...
Searching...
No Matches
TimeoutTimer Class Reference

#include <OnixS/FIXEngine/FIX/TimeoutTimer.h>

Public Member Functions

 TimeoutTimer (const TimeSpan &timeout)
 ~TimeoutTimer ()
bool elapsed () const

Detailed Description

The timeout timer to control the time interval in a loop. It can help to control a time interval during the dispatching in the ExternalThread mode.

Definition at line 30 of file TimeoutTimer.h.

Constructor & Destructor Documentation

◆ TimeoutTimer()

TimeoutTimer ( const TimeSpan & timeout)
explicit

The constructor.

Parameters
timeoutThe timeout that the timer should control.

◆ ~TimeoutTimer()

The destructor.

Member Function Documentation

◆ elapsed()

bool elapsed ( ) const

Returns 'true' if the timeout is elapsed, otherwise - 'false'.