mitteLib
Loading...
Searching...
No Matches
mlab::reduce_timeout Class Reference

#include <time.hpp>

Collaboration diagram for mlab::reduce_timeout:

Public Member Functions

 reduce_timeout (ms timeout)
 
ms remaining () const
 
ms elapsed () const
 
 operator bool () const
 

Private Attributes

ms _timeout
 
timer _timer
 

Constructor & Destructor Documentation

◆ reduce_timeout()

mlab::reduce_timeout::reduce_timeout ( ms timeout)
inlineexplicit

Member Function Documentation

◆ elapsed()

ms mlab::reduce_timeout::elapsed ( ) const
inlinenodiscard

◆ operator bool()

mlab::reduce_timeout::operator bool ( ) const
inlineexplicit

◆ remaining()

ms mlab::reduce_timeout::remaining ( ) const
inlinenodiscard

Member Data Documentation

◆ _timeout

ms mlab::reduce_timeout::_timeout
private

◆ _timer

timer mlab::reduce_timeout::_timer
private

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