ARPDAS_QNX6 1.0
Public Member Functions | Private Attributes
TimeoutAccumulator Class Reference

#include <Timeout.h>

List of all members.

Public Member Functions

 TimeoutAccumulator ()
void Set (Timeout *)
void Set_Min (Timeout *)
struct timeval * timeout_val ()

Private Attributes

struct timespec when
struct timeval how_soon

Detailed Description

Definition at line 18 of file Timeout.h.


Constructor & Destructor Documentation

TimeoutAccumulator::TimeoutAccumulator ( )

Definition at line 56 of file Timeout.cc.

References how_soon, and when.


Member Function Documentation

void TimeoutAccumulator::Set ( Timeout to)

Definition at line 63 of file Timeout.cc.

References how_soon, Timeout::when, and when.

Referenced by Set_Min().

Here is the caller graph for this function:

void TimeoutAccumulator::Set_Min ( Timeout to)

Definition at line 74 of file Timeout.cc.

References Set(), Timeout::when, and when.

Referenced by Selector::event_loop().

Here is the call graph for this function:

Here is the caller graph for this function:

struct timeval * TimeoutAccumulator::timeout_val ( ) [read]
Returns:
struct timeval pointer appropriate for select(). If no timeout is specified, returns NULL. If the timeout has passed, timeout is set at zero.

Definition at line 90 of file Timeout.cc.

References how_soon, and when.

Referenced by Selector::event_loop().

Here is the caller graph for this function:


Member Data Documentation

struct timeval TimeoutAccumulator::how_soon [private]

Definition at line 26 of file Timeout.h.

Referenced by Set(), timeout_val(), and TimeoutAccumulator().

struct timespec TimeoutAccumulator::when [private]

Definition at line 25 of file Timeout.h.

Referenced by Set(), Set_Min(), timeout_val(), and TimeoutAccumulator().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines