StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair::BasChronometer Struct Reference

#include <stdair/basic/BasChronometer.hpp>

Public Member Functions

 BasChronometer ()
 
void start ()
 
std::string getStart () const
 
double elapsed () const
 

Detailed Description

Structure allowing measuring the time elapsed between two events.

Definition at line 14 of file BasChronometer.hpp.

Constructor & Destructor Documentation

stdair::BasChronometer::BasChronometer ( )

Constructor.

Definition at line 12 of file BasChronometer.cpp.

Member Function Documentation

void stdair::BasChronometer::start ( )

Start the chronometer from the local time
The elapsed time given is the one elapsed since the start is launched.

Definition at line 16 of file BasChronometer.cpp.

std::string stdair::BasChronometer::getStart ( ) const
inline

Get the start time.

Definition at line 24 of file BasChronometer.hpp.

double stdair::BasChronometer::elapsed ( ) const

Return the time elapsed since the structure has been instanciated.
That elapsed time is expressed in seconds.

Definition at line 26 of file BasChronometer.cpp.


The documentation for this struct was generated from the following files: