Orfeo Toolbox  4.0
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
itk::MapData Class Referenceabstract

Base class for map data containers. More...

#include <itkSmapsFileParser.h>

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

Public Types

typedef SizeValueType 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

Base class for map data containers.

MAP DATA Inherited classes must implement their own

Definition at line 125 of file itkSmapsFileParser.h.

Member Typedef Documentation

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

Definition at line 153 of file itkSmapsFileParser.h.

need a large enough type to be able to accumulate the SmapsRecord

Definition at line 129 of file itkSmapsFileParser.h.

Constructor & Destructor Documentation

itk::MapData::~MapData ( )
virtual

MapData — MadData destructor

Definition at line 328 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 350 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 342 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 334 of file itkSmapsFileParser.cxx.

References m_Records.

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

Clear the content of the container

Definition at line 360 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 156 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 Sat Mar 8 2014 17:22:19 for Orfeo Toolbox with doxygen 1.8.3.1