|
Frobby 0.10.0
|
#include <Facade.h>

Protected Member Functions | |
| Facade (bool printActions) | |
| void | printMessage (const char *message) |
| void | beginAction (const char *message) |
| void | endAction () |
| bool | isPrintingActions () const |
This is the super class of all facades. It offers protected methods that are convenient for derived classes to print out what they are doing and how long it took, and to be able to turn this on and off with a boolean flag.
|
protected |
Constructs a facade that prints out what it is doing if printActions is true.
|
protected |
Prints message to standard error if printing is turned on, and records the time when the action started. endAction() must be called in-between two calls to beginAction.
|
protected |
Prints to standard error the time since the last call to beginAction. endAction() can only be called once after each call to beginAction.
|
protected |
Returns true if printing actions.
|
protected |
Prints message to standard error if printing is turned on.