Timer structure. More...
#include <timer.hh>
Public Types | |
typedef Proxy< void > | category |
typedef timer | exact_t |
Public Member Functions | |
void | operator= (const timer &) |
float | read () const |
void | reset () |
void | restart () |
void | resume () |
void | start () |
float | stop () |
float | subj_ () |
timer (const timer &) | |
timer () | |
~timer () | |
Private Attributes | |
bool | running_ |
float | start_ |
float | time_ |
Timer structure.
typedef Proxy<void> mln::Proxy< timer >::category [inherited] |
Reimplemented from mln::Object< timer >.
typedef timer mln::Object< timer >::exact_t [inherited] |
timer::timer | ( | ) | [inline] |
References reset().
mln::util::timer::timer | ( | const timer & | ) |
timer::~timer | ( | ) | [inline] |
References reset().
void mln::util::timer::operator= | ( | const timer & | ) |
void timer::reset | ( | ) | [inline] |
void timer::start | ( | ) | [inline] |
References running_, start_, and time_.
Referenced by mln::registration::impl::registration1(), mln::registration::impl::registration2(), mln::registration::impl::registration3(), and restart().
bool mln::util::timer::running_ [private] |
float mln::util::timer::start_ [private] |
float mln::util::timer::time_ [private] |