tlx
|
Independent RAII Scoped MultiTimer: contains a MultiTimer which is started with the given timer, and added to the base MultiTimer on destruction. More...
#include <multi_timer.hpp>
Public Member Functions | |
ScopedMultiTimer (MultiTimer &base, const char *timer) | |
construct and change timer to tm More... | |
~ScopedMultiTimer () | |
change back timer to previous timer. More... | |
Protected Attributes | |
MultiTimer & | base_ |
reference to base timer More... | |
MultiTimer | timer_ |
contained independent timer More... | |
Independent RAII Scoped MultiTimer: contains a MultiTimer which is started with the given timer, and added to the base MultiTimer on destruction.
Definition at line 126 of file multi_timer.hpp.
ScopedMultiTimer | ( | MultiTimer & | base, |
const char * | timer | ||
) |
construct and change timer to tm
Definition at line 160 of file multi_timer.cpp.
~ScopedMultiTimer | ( | ) |
change back timer to previous timer.
Definition at line 165 of file multi_timer.cpp.
|
protected |
reference to base timer
Definition at line 137 of file multi_timer.hpp.
|
protected |
contained independent timer
Definition at line 140 of file multi_timer.hpp.