DUNE: Uniform Navigational Environment  2016.05.0
DUNE::Time::Delta Class Reference

Detailed Description

Time delta calculations.

Public Member Functions

 Delta (void)
 
void clear (void)
 
void reset (void)
 
double getDelta (void)
 
double check (void)
 

Static Public Member Functions

static bool isInvalid (double delta)
 

Constructor & Destructor Documentation

DUNE::Time::Delta::Delta ( void  )
inline

Member Function Documentation

double DUNE::Time::Delta::check ( void  )
inline

Check time since last reset.

Returns
delta time.

References DUNE::Time::Clock::get(), and reset().

void DUNE::Time::Delta::clear ( void  )
inline
static bool DUNE::Time::Delta::isInvalid ( double  delta)
inlinestatic

Check if delta is invalid.

Returns
true if delta is invalid, false otherwise.
void DUNE::Time::Delta::reset ( void  )
inline

Reset time now.

References DUNE::Time::Clock::get().

Referenced by check(), and getDelta().

Collaboration diagram for DUNE::Time::Delta:
Collaboration graph