live
Data Structures | Typedefs | Functions | Variables
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}

◆ 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}

◆ operator*()

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

◆ operator-()

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

◆ TimeNow()

_EventTime TimeNow ( )

Variable Documentation

◆ DELAY_DAY

DelayInterval const DELAY_DAY
extern

◆ DELAY_HOUR

DelayInterval const DELAY_HOUR
extern

◆ DELAY_MINUTE

DelayInterval const DELAY_MINUTE
extern

◆ DELAY_SECOND

DelayInterval const DELAY_SECOND
extern

◆ DELAY_ZERO

DelayInterval const DELAY_ZERO
extern

◆ THE_END_OF_TIME

_EventTime const THE_END_OF_TIME
extern