#include <endpoint.h>
Public Member Functions | |
Timeout (long int us=0) | |
Timeout (long int s, long int ns) | |
operator struct timeval () | |
operator struct timespec () | |
operator bool () | |
operator double () | |
Timeout & | operator= (const struct timeval &tv) |
Timeout & | operator= (const struct timespec &tv) |
bool | operator== (const Timeout &other) const |
bool | is_zero () const |
bool | is_null () const |
Public Attributes | |
long int | sec |
long int | nsec |
Conexus::Timeout::Timeout | ( | long int | us = 0 |
) | [inline] |
Conexus::Timeout::Timeout | ( | long int | s, | |
long int | ns | |||
) | [inline] |
bool Conexus::Timeout::is_null | ( | ) | const [inline] |
Timeout& Conexus::Timeout::operator= | ( | const struct timespec & | tv | ) | [inline] |
Timeout& Conexus::Timeout::operator= | ( | const struct timeval & | tv | ) | [inline] |
bool Conexus::Timeout::operator== | ( | const Timeout & | other | ) | const [inline] |
long int Conexus::Timeout::nsec |
Referenced by is_null(), is_zero(), operator bool(), operator double(), operator struct timespec(), operator struct timeval(), operator=(), and operator==().
long int Conexus::Timeout::sec |
Referenced by is_null(), is_zero(), operator bool(), operator double(), operator struct timespec(), operator struct timeval(), operator=(), and operator==().