libmoost
moost::timer::scoped_time Class Reference

used for scoped access to timer More...

#include <timer.h>

Inheritance diagram for moost::timer::scoped_time:
Collaboration diagram for moost::timer::scoped_time:

List of all members.

Public Member Functions

 scoped_time (timer &timer_)
 ~scoped_time ()
void stop ()
boost::posix_time::ptime get_time () const

Private Attributes

timerm_timer
bool m_stopped
boost::posix_time::ptime m_time

Detailed Description

used for scoped access to timer

Definition at line 70 of file timer.h.


Constructor & Destructor Documentation

Definition at line 34 of file timer.cpp.

Definition at line 41 of file timer.cpp.


Member Function Documentation

boost::posix_time::ptime timer::scoped_time::get_time ( ) const

Definition at line 54 of file timer.cpp.

Definition at line 46 of file timer.cpp.


Member Data Documentation

Definition at line 74 of file timer.h.

boost::posix_time::ptime moost::timer::scoped_time::m_time [private]

Definition at line 75 of file timer.h.

Definition at line 73 of file timer.h.


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