27 static int level(
void);
30 static int level(
int newLevel,
bool thisStageOnly =
false);
33 static void enterStage(
const std::string& stageName);
36 static void leaveStage(
const std::string& stageName);
39 static std::string
tab(
void);
42 static std::string
tab(
int extra);
A class for debugging of TSIM.
static std::string tab(void)
returns tab spaces.
static void enterStage(const std::string &stageName)
Declare that you enter new stage.
static std::vector< std::string > _stages
Storage for stages.
static int _level
Debug level. 0:do nothing, 1:show you flow, 2:show you detail, 10:show you very detail.
static int level(void)
returns the debug level.
static void leaveStage(const std::string &stageName)
Declare that you leave a stage.
Abstract base class for different kinds of events.