Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::MapData Class Reference

#include <itkSmapsFileParser.h>

Inheritance diagram for itk::MapData:

Inheritance graph
[legend]
List of all members.

Detailed Description

Base class for the ?map data container. Inherited classes must implement their own

Definition at line 119 of file itkSmapsFileParser.h.

Public Types

typedef unsigned long MemoryLoadType

Public Member Functions

bool Empty ()
virtual MemoryLoadType GetHeapUsage ()=0
virtual MemoryLoadType GetMemoryUsage (const char *filter, const char *token)
virtual MemoryLoadType GetStackUsage ()=0
virtual MemoryLoadType GetTotalMemoryUsage ()
virtual ~MapData ()

Protected Types

typedef std::vector< MapRecord * > MapRecordVectorType

Protected Member Functions

void Reset (void)

Protected Attributes

MapRecordVectorType m_Records


Member Typedef Documentation

typedef std::vector< MapRecord* > itk::MapData::MapRecordVectorType [protected]

Definition at line 146 of file itkSmapsFileParser.h.

typedef unsigned long itk::MapData::MemoryLoadType

need an unsigned long type to be able to accumulate the SmapsRecord

Reimplemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.

Definition at line 123 of file itkSmapsFileParser.h.


Constructor & Destructor Documentation

virtual itk::MapData::~MapData (  )  [virtual]


Member Function Documentation

bool itk::MapData::Empty (  ) 

Returns true if the data has not been initialized yet

virtual MemoryLoadType itk::MapData::GetHeapUsage (  )  [pure virtual]

Returns the heap usage in kB of the process

Implemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.

virtual MemoryLoadType itk::MapData::GetMemoryUsage ( const char *  filter,
const char *  token 
) [virtual]

Returns the memory usage in kB of a process segment

virtual MemoryLoadType itk::MapData::GetStackUsage (  )  [pure virtual]

Returns the stack usage in kB of the process

Implemented in itk::SmapsData_2_6, and itk::VMMapData_10_2.

virtual MemoryLoadType itk::MapData::GetTotalMemoryUsage (  )  [virtual]

Returns the total memory usage in kB of the process

void itk::MapData::Reset ( void   )  [protected]

Clear the content of the container


Member Data Documentation

MapRecordVectorType itk::MapData::m_Records [protected]

contains all the segment records

Definition at line 149 of file itkSmapsFileParser.h.


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 07:49:14 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000