ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
itk::MapData Class Referenceabstract

#include <itkSmapsFileParser.h>

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

Public Types

using MemoryLoadType = SizeValueType
 

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

using MapRecordVectorType = std::vector< MapRecord * >
 

Protected Member Functions

void Reset ()
 

Protected Attributes

MapRecordVectorType m_Records
 

Detailed Description

Base class for map data containers.

MAP DATA

Inherited classes must implement their own

Definition at line 129 of file itkSmapsFileParser.h.

Member Typedef Documentation

◆ MapRecordVectorType

using itk::MapData::MapRecordVectorType = std::vector<MapRecord *>
protected

Definition at line 163 of file itkSmapsFileParser.h.

◆ MemoryLoadType

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

Definition at line 133 of file itkSmapsFileParser.h.

Constructor & Destructor Documentation

◆ ~MapData()

virtual itk::MapData::~MapData ( )
virtual

Member Function Documentation

◆ Empty()

bool itk::MapData::Empty ( )

Returns true if the data has not been initialized yet

◆ GetHeapUsage()

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.

◆ GetMemoryUsage()

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

Returns the memory usage in kB of a process segment

◆ 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.

◆ GetTotalMemoryUsage()

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

Returns the total memory usage in kB of the process

◆ Reset()

void itk::MapData::Reset ( )
protected

Clear the content of the container

Member Data Documentation

◆ m_Records

MapRecordVectorType itk::MapData::m_Records
protected

contains all the segment records

Definition at line 166 of file itkSmapsFileParser.h.


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