#include <ml_thread_safe_memory_info.h>
Public Member Functions | |
void | acquiredMemory (std::ptrdiff_t mem) |
std::ptrdiff_t | currentFreeMemory () const |
bool | isAdditionalMemoryAvailable (std::ptrdiff_t mem) |
MLThreadSafeMemoryInfo (std::ptrdiff_t originalmem) | |
void | releasedMemory (std::ptrdiff_t mem=0) |
std::ptrdiff_t | usedMemory () const |
~MLThreadSafeMemoryInfo () | |
Private Attributes | |
QReadWriteLock | lock |
Definition at line 32 of file ml_thread_safe_memory_info.h.
MLThreadSafeMemoryInfo::MLThreadSafeMemoryInfo | ( | std::ptrdiff_t | originalmem | ) |
Definition at line 26 of file ml_thread_safe_memory_info.cpp.
Definition at line 32 of file ml_thread_safe_memory_info.cpp.
void MLThreadSafeMemoryInfo::acquiredMemory | ( | std::ptrdiff_t | mem | ) | [virtual] |
Reimplemented from vcg::NotThreadSafeMemoryInfo.
Definition at line 36 of file ml_thread_safe_memory_info.cpp.
std::ptrdiff_t MLThreadSafeMemoryInfo::currentFreeMemory | ( | ) | const [virtual] |
Reimplemented from vcg::NotThreadSafeMemoryInfo.
Definition at line 49 of file ml_thread_safe_memory_info.cpp.
bool MLThreadSafeMemoryInfo::isAdditionalMemoryAvailable | ( | std::ptrdiff_t | mem | ) | [virtual] |
Reimplemented from vcg::NotThreadSafeMemoryInfo.
Definition at line 61 of file ml_thread_safe_memory_info.cpp.
void MLThreadSafeMemoryInfo::releasedMemory | ( | std::ptrdiff_t | mem = 0 | ) | [virtual] |
Reimplemented from vcg::NotThreadSafeMemoryInfo.
Definition at line 55 of file ml_thread_safe_memory_info.cpp.
std::ptrdiff_t MLThreadSafeMemoryInfo::usedMemory | ( | ) | const [virtual] |
Reimplemented from vcg::NotThreadSafeMemoryInfo.
Definition at line 42 of file ml_thread_safe_memory_info.cpp.
QReadWriteLock MLThreadSafeMemoryInfo::lock [mutable, private] |
Definition at line 52 of file ml_thread_safe_memory_info.h.