fintp_base
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FinTP::InstrumentedObject Class Reference

#include <InstrumentedObject.h>

Inheritance diagram for FinTP::InstrumentedObject:

Public Member Functions

void registerCounter (const string &ownerTypeName, const string &counterName, const InstrumentedObject *iobject)
 

Static Public Member Functions

static unsigned int GetIntrumentedInstanceNo ()
 
static void RemoveAllCounters ()
 
static string Report ()
 
static string Collect ()
 

Static Public Attributes

static InstrumentedObject Instance
 
static pthread_mutex_t ObjMutex = PTHREAD_MUTEX_INITIALIZER
 

Protected Member Functions

 InstrumentedObject ()
 
virtual ~InstrumentedObject ()
 
string InternalGetCounters () const
 

Protected Attributes

map< string, unsigned long > m_Counters
 
map< string, const
InstrumentedObject * > 
m_RegisteredObjects
 
unsigned int m_RegisterCounter
 
vector< string > m_CollectedReports
 

Private Member Functions

 InstrumentedObject (const InstrumentedObject &obj)
 
InstrumentedObjectoperator= (const InstrumentedObject &obj)
 

Constructor & Destructor Documentation

FinTP::InstrumentedObject::InstrumentedObject ( const InstrumentedObject obj)
private
InstrumentedObject::InstrumentedObject ( )
protected
virtual FinTP::InstrumentedObject::~InstrumentedObject ( )
inlineprotectedvirtual

Member Function Documentation

string InstrumentedObject::Collect ( )
static
static unsigned int FinTP::InstrumentedObject::GetIntrumentedInstanceNo ( )
inlinestatic
string InstrumentedObject::InternalGetCounters ( ) const
protected
InstrumentedObject& FinTP::InstrumentedObject::operator= ( const InstrumentedObject obj)
private
void InstrumentedObject::registerCounter ( const string &  ownerTypeName,
const string &  counterName,
const InstrumentedObject iobject 
)
static void FinTP::InstrumentedObject::RemoveAllCounters ( )
inlinestatic
string InstrumentedObject::Report ( )
static

Member Data Documentation

InstrumentedObject InstrumentedObject::Instance
static
vector< string > FinTP::InstrumentedObject::m_CollectedReports
protected
map< string, unsigned long > FinTP::InstrumentedObject::m_Counters
protected
unsigned int FinTP::InstrumentedObject::m_RegisterCounter
protected
map< string, const InstrumentedObject* > FinTP::InstrumentedObject::m_RegisteredObjects
protected
pthread_mutex_t InstrumentedObject::ObjMutex = PTHREAD_MUTEX_INITIALIZER
static

The documentation for this class was generated from the following files: