Timer _timer
Keeps track of the time between calls to beginAction() and endAction().
bool _printActions
Keeps track of whether we are printing.
bool isPrintingActions() const
Returns true if printing actions.
Measures spans of CPU time.
void endAction()
Prints to standard error the time since the last call to beginAction.
void printMessage(const char *message)
Prints message to standard error if printing is turned on.
void beginAction(const char *message)
Prints message to standard error if printing is turned on, and records the time when the action start...
Facade(bool printActions)
Constructs a facade that prints out what it is doing if printActions is true.
This is the super class of all facades.