live
DelayQueue.hh File Reference
#include "NetCommon.h"
Include dependency graph for DelayQueue.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Timeval
class  DelayInterval
class  _EventTime
class  DelayQueueEntry
class  DelayQueue

Typedefs

typedef long time_base_seconds

Functions

Timeval max (Timeval const &arg1, Timeval const &arg2)
Timeval min (Timeval const &arg1, Timeval const &arg2)
class DelayInterval operator- (Timeval const &arg1, Timeval const &arg2)
DelayInterval operator* (short arg1, DelayInterval const &arg2)
_EventTime TimeNow ()

Variables

DelayInterval const DELAY_ZERO
DelayInterval const DELAY_SECOND
DelayInterval const DELAY_MINUTE
DelayInterval const DELAY_HOUR
DelayInterval const DELAY_DAY
_EventTime const THE_END_OF_TIME

Typedef Documentation

◆ time_base_seconds

typedef long time_base_seconds

Definition at line 30 of file DelayQueue.hh.

Function Documentation

◆ max()

Timeval max ( Timeval const & arg1,
Timeval const & arg2 )
inline

Definition at line 88 of file DelayQueue.hh.

88 {
89 return arg1 >= arg2 ? arg1 : arg2;
90}

References max().

Referenced by max().

◆ min()

Timeval min ( Timeval const & arg1,
Timeval const & arg2 )
inline

Definition at line 93 of file DelayQueue.hh.

93 {
94 return arg1 <= arg2 ? arg1 : arg2;
95}

References min().

Referenced by min().

◆ operator*()

DelayInterval operator* ( short arg1,
DelayInterval const & arg2 )

◆ operator-()

class DelayInterval operator- ( Timeval const & arg1,
Timeval const & arg2 )

◆ TimeNow()

_EventTime TimeNow ( )

References THE_END_OF_TIME, and TimeNow().

Referenced by TimeNow().

Variable Documentation

◆ DELAY_DAY

DelayInterval const DELAY_DAY
extern

Referenced by operator*().

◆ DELAY_HOUR

DelayInterval const DELAY_HOUR
extern

Referenced by operator*().

◆ DELAY_MINUTE

DelayInterval const DELAY_MINUTE
extern

Referenced by operator*().

◆ DELAY_SECOND

DelayInterval const DELAY_SECOND
extern

Referenced by operator*().

◆ DELAY_ZERO

DelayInterval const DELAY_ZERO
extern

Referenced by operator*().

◆ THE_END_OF_TIME

_EventTime const THE_END_OF_TIME
extern

Referenced by TimeNow().