conexus logo

Conexus::Timeout Struct Reference

#include <endpoint.h>

List of all members.

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 ()
Timeoutoperator= (const struct timeval &tv)
Timeoutoperator= (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


Constructor & Destructor Documentation

Conexus::Timeout::Timeout ( long int  us = 0  )  [inline]

Conexus::Timeout::Timeout ( long int  s,
long int  ns 
) [inline]


Member Function Documentation

bool Conexus::Timeout::is_null (  )  const [inline]

bool Conexus::Timeout::is_zero (  )  const [inline]

References nsec, and sec.

Conexus::Timeout::operator bool (  )  [inline]

References nsec, and sec.

Conexus::Timeout::operator double (  )  [inline]

References nsec, and sec.

Conexus::Timeout::operator struct timespec (  )  [inline]

References nsec, and sec.

Conexus::Timeout::operator struct timeval (  )  [inline]

References nsec, and sec.

Timeout& Conexus::Timeout::operator= ( const struct timespec &  tv  )  [inline]

References nsec, and sec.

Timeout& Conexus::Timeout::operator= ( const struct timeval &  tv  )  [inline]

References nsec, and sec.

bool Conexus::Timeout::operator== ( const Timeout other  )  const [inline]

References nsec, and sec.


Member Data Documentation


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

Generated on Wed Jul 8 15:51:17 2009 for conexus by doxygen 1.5.8