Savarese Software Research Corporation
TimeValue.h File Reference

This header defines the TimeValue class. More...

#include <ssrc/wisp-packages.h>
#include <cstdint>
#include <stdexcept>
#include <limits>
#include <ctime>
#include <time.h>
Include dependency graph for TimeValue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class   TimeValue
 

Macros

#define  __WISP_BILLION   1000000000
 

Functions

TimeValue  operator- (const TimeValue &t1, const TimeValue &t2)
 
TimeValue  operator+ (const TimeValue &t1, const TimeValue &t2)
 

Variables

const TimeValue  InfiniteTimeValue
 

Detailed Description

This header defines the TimeValue class.

Definition in file TimeValue.h.

Macro Definition Documentation

#define __WISP_BILLION   1000000000

Definition at line 39 of file TimeValue.h.

Referenced by TimeValue::operator+=(), TimeValue::operator-=(), and TimeValue::TimeValue().

Function Documentation

TimeValue operator+ ( const TimeValue t1,
const TimeValue t2 
)
inline

Definition at line 186 of file TimeValue.h.

TimeValue operator- ( const TimeValue t1,
const TimeValue t2 
)
inline

Definition at line 181 of file TimeValue.h.

Variable Documentation

const TimeValue InfiniteTimeValue
Initial value:
=
TimeValue(TimeValue::sec_type_traits::max(), 0)

Definition at line 191 of file TimeValue.h.

Referenced by EventHandler::has_timeout().


Savarese Software Research Corporation
Copyright © 2006-2012 Savarese Software Research Corporation. All rights reserved.