OnixS C++ FIX Engine 4.13.0
API Documentation
Loading...
Searching...
No Matches
TimeoutTimer Class Reference

Public Member Functions

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

Detailed Description

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