Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
process::Timeout Class Reference

#include <timeout.hpp>

Public Member Functions

 Timeout ()
 
 Timeout (const Time &time)
 
 Timeout (const Timeout &that)
 
Timeoutoperator= (const Timeout &that)
 
Timeoutoperator= (const Duration &duration)
 
bool operator== (const Timeout &that) const
 
bool operator< (const Timeout &that) const
 
bool operator<= (const Timeout &that) const
 
Time time () const
 
Duration remaining () const
 
bool expired () const
 

Static Public Member Functions

static Timeout in (const Duration &duration)
 

Constructor & Destructor Documentation

process::Timeout::Timeout ( )
inline
process::Timeout::Timeout ( const Time time)
inlineexplicit
process::Timeout::Timeout ( const Timeout that)
inline

Member Function Documentation

bool process::Timeout::expired ( ) const
inline
static Timeout process::Timeout::in ( const Duration duration)
inlinestatic
bool process::Timeout::operator< ( const Timeout that) const
inline
bool process::Timeout::operator<= ( const Timeout that) const
inline
Timeout& process::Timeout::operator= ( const Timeout that)
inline
Timeout& process::Timeout::operator= ( const Duration duration)
inline
bool process::Timeout::operator== ( const Timeout that) const
inline
Duration process::Timeout::remaining ( ) const
inline
Time process::Timeout::time ( ) const
inline

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