CppELib 1.7.0
|
Value object for the timeout. More...
#include <Timeout.h>
Public Member Functions | |
Timeout (long milliseconds) | |
Constructor of Timeout. | |
Timeout (const Timeout &tmout) | |
Copy constructor of Timeout. | |
operator long () const | |
Implicit conversion from the Timeout object to integer value. | |
Static Public Attributes | |
static const Timeout | POLLING |
Constant value object for non-blocking. | |
static const Timeout | FOREVER |
Constant value object for waiting forever until condition satisfied. | |
Value object for the timeout.
|
inlineexplicit |
Constructor of Timeout.
milliseconds | Set timeout in milliseconds |
|
inline |
Copy constructor of Timeout.
tmout | Copy source object |
|
inline |
Implicit conversion from the Timeout object to integer value.
|
static |
Constant value object for waiting forever until condition satisfied.
|
static |
Constant value object for non-blocking.