Orfeo Toolbox  3.16
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
itk::MapData Class Reference

#include <itkSmapsFileParser.h>

+ Inheritance diagram for itk::MapData:
+ Collaboration diagram for itk::MapData:

List of all members.

Public Types

typedef unsigned long MemoryLoadType

Public Member Functions

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

Protected Types

typedef std::vector< MapRecord * > MapRecordVectorType

Protected Member Functions

void Reset (void)

Protected Attributes

MapRecordVectorType m_Records

Detailed Description

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

Definition at line 119 of file itkSmapsFileParser.h.


Member Typedef Documentation

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

Definition at line 142 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::VMMapData_10_2, and itk::SmapsData_2_6.

Definition at line 123 of file itkSmapsFileParser.h.


Constructor & Destructor Documentation

itk::MapData::~MapData ( )
virtual

MapData — MadData destructor

Definition at line 327 of file itkSmapsFileParser.cxx.

References Reset().


Member Function Documentation

bool itk::MapData::Empty ( )

Returns true if the data has not been initialized yet

is the data empty ?

Definition at line 345 of file itkSmapsFileParser.cxx.

References m_Records.

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

Returns the heap usage in kB of the process

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

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

Returns the memory usage in kB of a process segment

Definition at line 339 of file itkSmapsFileParser.cxx.

References m_Records.

Referenced by itk::SmapsData_2_6::GetHeapUsage(), itk::VMMapData_10_2::GetHeapUsage(), itk::SmapsData_2_6::GetStackUsage(), and itk::VMMapData_10_2::GetStackUsage().

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

Returns the stack usage in kB of the process

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

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

Returns the total memory usage in kB of the process

Definition at line 333 of file itkSmapsFileParser.cxx.

References m_Records.

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

Clear the content of the container

Definition at line 355 of file itkSmapsFileParser.cxx.

References itk::DeleteMapRecord(), and m_Records.

Referenced by itk::operator>>(), and ~MapData().


Member Data Documentation

MapRecordVectorType itk::MapData::m_Records
protected

contains all the segment records

Definition at line 145 of file itkSmapsFileParser.h.

Referenced by Empty(), GetMemoryUsage(), GetTotalMemoryUsage(), itk::operator>>(), and Reset().


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

Generated at Sun Feb 3 2013 02:03:49 for Orfeo Toolbox with doxygen 1.8.1.1