libmoost
moost::multi_timer::reassignable_scoped_time Class Reference

#include <timer.h>

Collaboration diagram for moost::multi_timer::reassignable_scoped_time:

List of all members.

Public Member Functions

 reassignable_scoped_time (multi_timer &mt, const std::string &name, int max_threshold_time_ms=(std::numeric_limits< int >::max)())
 ~reassignable_scoped_time ()
void reassign (const std::string &name)
void stop ()
void discard ()
boost::posix_time::ptime get_time () const

Private Attributes

multi_timerm_multi_timer
boost::shared_ptr< timerm_timer
bool m_stopped
boost::posix_time::ptime m_time
boost::mutex m_reassign_mutex
int m_max_threshold_time_ms

Detailed Description

Definition at line 160 of file timer.h.


Constructor & Destructor Documentation

multi_timer::reassignable_scoped_time::reassignable_scoped_time ( multi_timer mt,
const std::string &  name,
int  max_threshold_time_ms = (std::numeric_limits<int>::max)() 
)

Definition at line 240 of file timer.cpp.


Member Function Documentation

Definition at line 291 of file timer.cpp.

boost::posix_time::ptime multi_timer::reassignable_scoped_time::get_time ( ) const

Definition at line 297 of file timer.cpp.

void multi_timer::reassignable_scoped_time::reassign ( const std::string &  name)

Definition at line 274 of file timer.cpp.

Definition at line 263 of file timer.cpp.


Member Data Documentation

Definition at line 177 of file timer.h.

Definition at line 175 of file timer.h.

boost::posix_time::ptime moost::multi_timer::reassignable_scoped_time::m_time [private]

Definition at line 176 of file timer.h.

Definition at line 174 of file timer.h.


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