This is an auxiliary class for mrpt::system::getMemoryUsage() under Windows.
It loads in runtime PSAPI.DLL. This is to avoid problems in some platforms, i.e Windows 2000, where this DLL must not be present.
Definition at line 54 of file memory.cpp.
Public Member Functions | |
CAuxPSAPI_Loader () | |
~CAuxPSAPI_Loader () | |
BOOL WINAPI | GetProcessMemoryInfo (HANDLE Process, PPROCESS_MEMORY_COUNTERS ppsmemCounters, DWORD cb) |
Public Attributes | |
HMODULE | m_dll |
Protected Types | |
typedef BOOL(WINAPI * | TGetProcessMemoryInfo) (HANDLE Process, PPROCESS_MEMORY_COUNTERS ppsmemCounters, DWORD cb) |
Protected Attributes | |
TGetProcessMemoryInfo | m_ptr |
|
protected |
Definition at line 57 of file memory.cpp.
|
inline |
Definition at line 65 of file memory.cpp.
|
inline |
Definition at line 76 of file memory.cpp.
|
inline |
Definition at line 86 of file memory.cpp.
Referenced by mrpt::system::getMemoryUsage().
HMODULE mrpt::system::CAuxPSAPI_Loader::m_dll |
Definition at line 63 of file memory.cpp.
|
protected |
Definition at line 60 of file memory.cpp.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |