ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Member Functions | List of all members
itk::VMMapFileParser< TVMMapDataType > Class Template Reference

#include <itkSmapsFileParser.h>

+ Inheritance diagram for itk::VMMapFileParser< TVMMapDataType >:
+ Collaboration diagram for itk::VMMapFileParser< TVMMapDataType >:

Detailed Description

template<typename TVMMapDataType>
class itk::VMMapFileParser< TVMMapDataType >

Read the output of a vmmap command and extract the memory usage information. Used for MAC OS X machines.

Definition at line 289 of file itkSmapsFileParser.h.

Public Member Functions

virtual void ReadFile (const std::string &mapFileLocation="")
 
virtual ~VMMapFileParser ()
 
- Public Member Functions inherited from itk::MapFileParser< TVMMapDataType >
MemoryLoadType GetHeapUsage ()
 
MemoryLoadType GetMemoryUsage (const char *filter, const char *token="Size")
 
MemoryLoadType GetStackUsage ()
 
MemoryLoadType GetTotalMemoryUsage ()
 
bool Update ()
 
virtual ~MapFileParser ()
 

Additional Inherited Members

- Public Types inherited from itk::MapFileParser< TVMMapDataType >
typedef
TVMMapDataType::MemoryLoadType 
MemoryLoadType
 
- Protected Attributes inherited from itk::MapFileParser< TVMMapDataType >
TVMMapDataType m_MapData
 
std::string m_MapFilePath
 

Constructor & Destructor Documentation

template<typename TVMMapDataType >
virtual itk::VMMapFileParser< TVMMapDataType >::~VMMapFileParser ( )
virtual

Member Function Documentation

template<typename TVMMapDataType >
virtual void itk::VMMapFileParser< TVMMapDataType >::ReadFile ( const std::string &  mapFileLocation = "")
virtual

If no vmmap file, create one using "vmmap pid" command Throw an exception is the file can't be created/opened.

Implements itk::MapFileParser< TVMMapDataType >.


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