Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

AllocThreadTrace Class Reference

Crossroad of traces and threads-methods. More...

#include <allocThreadTrace.h>

Inheritance diagram for AllocThreadTrace::

LI1 LI2 LI3 AllocStatData IdObject ListItem ListItem ListItem DataBinaryFormat StatDataModification RefCount RefCount RefCount List of all members.

Public Methods

 AllocThreadTrace ()
 Default constructor.

virtual ~AllocThreadTrace ()
 Destructor.

const AllocThreadTraceKeygetKey (AllocThreadTraceKey &key)
 Retrieves object's key. More...

int operator== (const AllocThreadTraceKey &key)
 Compares object with given key. More...

void deactivate ()
 Performs deactivation.

void * operator new (size_t sz)
 Overloaded new() operator.

void operator delete (void *unit)
 Overloaded delete() operator.

virtual eClassIdent getClassIdent ()
 Class identification. More...

virtual int isActive ()
 State of object. More...

virtual int isChanged ()
 Indication that object has changed its data. More...

virtual void setUnchanged ()
 Set the structure is unchanged although it may not be.


Static Public Methods

int hashKey (const AllocThreadTraceKey &key)
 Hash function. More...


Public Attributes

AllocThreadMethodthreadMethod
 parent AllocThreadMethod.

AllocTracetrace
 parent AllocTrace;.

List< AllocThreadObjectTrace,
LI3
threadObjectTraces
 associated AllocThreadObjectTraces.


Static Private Attributes

Allocator _allocator
 allocator.


Detailed Description

Crossroad of traces and threads-methods.

This class contains memory statistic information for "each" trace in "each" thread (only those traces and threads, in which an allocation is done, are included).

See also:
AllocThreadObjectTrace, AllocThreadMethod
Author:
Marek Przeczek, Petr Luner

Definition at line 56 of file allocThreadTrace.h.


Member Function Documentation

virtual eClassIdent AllocThreadTrace::getClassIdent   [inline, virtual]
 

Class identification.

Returns:
unique class type identifier

Reimplemented from IdObject.

Definition at line 141 of file allocThreadTrace.h.

const AllocThreadTraceKey & AllocThreadTrace::getKey AllocThreadTraceKey   key
 

Retrieves object's key.

Parameters:
key  where to store the key
Returns:
key
See also:
Hash

Definition at line 49 of file allocThreadTrace.cpp.

int AllocThreadTrace::hashKey const AllocThreadTraceKey   key [static]
 

Hash function.

Parameters:
key  reference to a key
Returns:
hash value

Definition at line 61 of file allocThreadTrace.cpp.

int AllocThreadTrace::isActive   [virtual]
 

State of object.

Once an object is unactive, it remains unactive forever.

Returns:
0 (not active); 1 (active)

Reimplemented from IdObject.

Definition at line 66 of file allocThreadTrace.cpp.

Referenced by AllocThreadObjectTrace::isActive().

virtual int AllocThreadTrace::isChanged   [inline, virtual]
 

Indication that object has changed its data.

Returns:
0 (no change); 1 (data changed)

Reimplemented from IdObject.

Definition at line 156 of file allocThreadTrace.h.

int AllocThreadTrace::operator== const AllocThreadTraceKey   key
 

Compares object with given key.

Parameters:
key  key
Returns:
1 (true); 0 (false)
See also:
Hash

Definition at line 56 of file allocThreadTrace.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 28 14:53:28 2002 for Java Profiler Dynamic Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001