hpp::debug::Timer Class Reference

#include <hpp/util/timer.hh>

List of all members.

Public Types

typedef boost::posix_time::ptime ptime
typedef
boost::posix_time::time_duration 
time_duration
typedef
boost::posix_time::time_period 
time_period

Public Member Functions

 Timer (bool autoStart=false)
 Timer (const Timer &)
Timeroperator= (const Timer &)
 ~Timer ()
const ptimestart ()
const ptimestop ()
time_duration duration () const
const ptimegetStart () const
const ptimegetStop () const
std::ostream & print (std::ostream &) const

Member Typedef Documentation

typedef boost::posix_time::ptime hpp::debug::Timer::ptime
typedef boost::posix_time::time_duration hpp::debug::Timer::time_duration
typedef boost::posix_time::time_period hpp::debug::Timer::time_period

Constructor & Destructor Documentation

hpp::debug::Timer::Timer ( bool  autoStart = false) [explicit]

References start().

hpp::debug::Timer::Timer ( const Timer timer)
hpp::debug::Timer::~Timer ( )

Member Function Documentation

Timer::time_duration hpp::debug::Timer::duration ( ) const

Referenced by print().

const Timer::ptime & hpp::debug::Timer::getStart ( ) const
const Timer::ptime & hpp::debug::Timer::getStop ( ) const
Timer & hpp::debug::Timer::operator= ( const Timer timer)
std::ostream & hpp::debug::Timer::print ( std::ostream &  o) const

References duration().

const Timer::ptime & hpp::debug::Timer::start ( )

Referenced by Timer().

const Timer::ptime & hpp::debug::Timer::stop ( )