#include <memory_info.h>
Classes | |
class | MemoryInfoException |
Public Member Functions | |
virtual void | acquiredMemory (std::ptrdiff_t mem)=0 |
virtual std::ptrdiff_t | currentFreeMemory () const =0 |
virtual bool | isAdditionalMemoryAvailable (std::ptrdiff_t mem)=0 |
MemoryInfo (std::ptrdiff_t originalmem) | |
virtual void | releasedMemory (std::ptrdiff_t mem=0)=0 |
virtual std::ptrdiff_t | usedMemory () const =0 |
virtual | ~MemoryInfo () |
Protected Attributes | |
std::ptrdiff_t | _currentfreememory |
const std::ptrdiff_t | _originaltotalmemory |
Definition at line 34 of file memory_info.h.
vcg::MemoryInfo::MemoryInfo | ( | std::ptrdiff_t | originalmem | ) | [inline] |
Definition at line 49 of file memory_info.h.
virtual vcg::MemoryInfo::~MemoryInfo | ( | ) | [inline, virtual] |
Definition at line 54 of file memory_info.h.
virtual void vcg::MemoryInfo::acquiredMemory | ( | std::ptrdiff_t | mem | ) | [pure virtual] |
Implemented in vcg::NotThreadSafeMemoryInfo, and MLThreadSafeMemoryInfo.
virtual std::ptrdiff_t vcg::MemoryInfo::currentFreeMemory | ( | ) | const [pure virtual] |
Implemented in vcg::NotThreadSafeMemoryInfo, and MLThreadSafeMemoryInfo.
virtual bool vcg::MemoryInfo::isAdditionalMemoryAvailable | ( | std::ptrdiff_t | mem | ) | [pure virtual] |
Implemented in vcg::NotThreadSafeMemoryInfo, and MLThreadSafeMemoryInfo.
virtual void vcg::MemoryInfo::releasedMemory | ( | std::ptrdiff_t | mem = 0 | ) | [pure virtual] |
Implemented in vcg::NotThreadSafeMemoryInfo, and MLThreadSafeMemoryInfo.
virtual std::ptrdiff_t vcg::MemoryInfo::usedMemory | ( | ) | const [pure virtual] |
Implemented in vcg::NotThreadSafeMemoryInfo, and MLThreadSafeMemoryInfo.
std::ptrdiff_t vcg::MemoryInfo::_currentfreememory [protected] |
Definition at line 63 of file memory_info.h.
const std::ptrdiff_t vcg::MemoryInfo::_originaltotalmemory [protected] |
Definition at line 62 of file memory_info.h.