#include <memory_info.h>
Public Member Functions | |
void | acquiredMemory (std::ptrdiff_t mem) |
std::ptrdiff_t | currentFreeMemory () const |
bool | isAdditionalMemoryAvailable (std::ptrdiff_t mem) |
NotThreadSafeMemoryInfo (std::ptrdiff_t originalmem) | |
void | releasedMemory (std::ptrdiff_t mem=0) |
std::ptrdiff_t | usedMemory () const |
~NotThreadSafeMemoryInfo () |
Definition at line 71 of file memory_info.h.
vcg::NotThreadSafeMemoryInfo::NotThreadSafeMemoryInfo | ( | std::ptrdiff_t | originalmem | ) | [inline] |
Definition at line 74 of file memory_info.h.
Definition at line 79 of file memory_info.h.
void vcg::NotThreadSafeMemoryInfo::acquiredMemory | ( | std::ptrdiff_t | mem | ) | [inline, virtual] |
Implements vcg::MemoryInfo.
Reimplemented in MLThreadSafeMemoryInfo.
Definition at line 81 of file memory_info.h.
std::ptrdiff_t vcg::NotThreadSafeMemoryInfo::currentFreeMemory | ( | ) | const [inline, virtual] |
Implements vcg::MemoryInfo.
Reimplemented in MLThreadSafeMemoryInfo.
Definition at line 97 of file memory_info.h.
bool vcg::NotThreadSafeMemoryInfo::isAdditionalMemoryAvailable | ( | std::ptrdiff_t | mem | ) | [inline, virtual] |
Implements vcg::MemoryInfo.
Reimplemented in MLThreadSafeMemoryInfo.
Definition at line 110 of file memory_info.h.
void vcg::NotThreadSafeMemoryInfo::releasedMemory | ( | std::ptrdiff_t | mem = 0 | ) | [inline, virtual] |
Implements vcg::MemoryInfo.
Reimplemented in MLThreadSafeMemoryInfo.
Definition at line 102 of file memory_info.h.
std::ptrdiff_t vcg::NotThreadSafeMemoryInfo::usedMemory | ( | ) | const [inline, virtual] |
Implements vcg::MemoryInfo.
Reimplemented in MLThreadSafeMemoryInfo.
Definition at line 92 of file memory_info.h.