4 #ifndef __KVCLASSMONITOR_H
5 #define __KVCLASSMONITOR_H
79 printf(
"<%s> : %s\n", method.
Data(), message.
Data());
#define ClassDef(name, id)
Base class for KaliVeda framework.
Simple tool to track which classes instance count increases over time.
static KVClassMonitor * GetInstance()
Return pointer to unique instance of class monitor class.
std::map< std::string, int > fChanges
list of classes whose number changed in last Check()
std::map< std::string, int > & GetListOfChanges() const
TEnv fClassStats
store class instance statistics
TEnv fClassStatsInit
intitial class instance statistics
static Bool_t fDisableCheck
disable static DoCheck() method
static void DisableChecking()
Disable static DoCheck method.
static void EnableChecking()
Re-enable static DoCheck method.
virtual ~KVClassMonitor()
Destructor.
static void DoCheck(const TString &method, const TString &message)
Print statistics of global singleton if it exists.
static KVClassMonitor * fgClassMonitor
singleton
const char * Data() const