CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::OS::Timeout Class Reference

Public Member Functions

 Timeout (unsigned millisec)
void set (unsigned millisec)
bool is_set () const
void clear ()
unsigned time_left () const
bool operator== (const Timeout &other) const
bool operator!= (const Timeout &other) const
bool operator< (const Timeout &other) const
bool operator> (const Timeout &other) const
bool operator>= (const Timeout &other) const
bool operator<= (const Timeout &other) const

Private Attributes

int64_t m_time

Detailed Description

Definition at line 65 of file timeout.h.

Constructor & Destructor Documentation

◆ Timeout() [1/2]

NSROOT::OS::Timeout::Timeout ( )
inline

Definition at line 68 of file timeout.h.

◆ Timeout() [2/2]

NSROOT::OS::Timeout::Timeout ( unsigned millisec)
inline

Definition at line 69 of file timeout.h.

Member Function Documentation

◆ clear()

void NSROOT::OS::Timeout::clear ( )
inline

Definition at line 81 of file timeout.h.

◆ is_set()

bool NSROOT::OS::Timeout::is_set ( ) const
inline

Definition at line 76 of file timeout.h.

◆ operator!=()

bool NSROOT::OS::Timeout::operator!= ( const Timeout & other) const
inline

Definition at line 97 of file timeout.h.

◆ operator<()

bool NSROOT::OS::Timeout::operator< ( const Timeout & other) const
inline

Definition at line 102 of file timeout.h.

◆ operator<=()

bool NSROOT::OS::Timeout::operator<= ( const Timeout & other) const
inline

Definition at line 117 of file timeout.h.

◆ operator==()

bool NSROOT::OS::Timeout::operator== ( const Timeout & other) const
inline

Definition at line 92 of file timeout.h.

◆ operator>()

bool NSROOT::OS::Timeout::operator> ( const Timeout & other) const
inline

Definition at line 107 of file timeout.h.

◆ operator>=()

bool NSROOT::OS::Timeout::operator>= ( const Timeout & other) const
inline

Definition at line 112 of file timeout.h.

◆ set()

void NSROOT::OS::Timeout::set ( unsigned millisec)
inline

Definition at line 71 of file timeout.h.

◆ time_left()

unsigned NSROOT::OS::Timeout::time_left ( ) const
inline

Definition at line 86 of file timeout.h.

Field Documentation

◆ m_time

int64_t NSROOT::OS::Timeout::m_time
private

Definition at line 123 of file timeout.h.


The documentation for this class was generated from the following file:
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/timeout.h