Responsible for the creation and managment of all shared memory pools.
More...
Public Member Functions |
| | DtMemoryManager () |
| virtual | ~DtMemoryManager () |
| | Safely destroys all memory pools.
|
| virtual void * | create (const DtString &name, unsigned long size) |
| | Creates a memory pool and returns its address, or 0 if it can't be created.
|
| virtual void * | address (const DtString &name) |
| | returns the address of an already created memory pool, or 0 if there is no pool by that name.
|
| virtual void | destroy (const DtString &name) |
| | Destroys a pool with the given name, no op if the name doesn't exist;.
|
Detailed Description
Responsible for the creation and managment of all shared memory pools.
This class is used by the DtQueueManager to keep track of all pools created by the DtQueueManager.
Member Typedef Documentation
Constructor & Destructor Documentation
| MAKVrExchange::DtMemoryManager::DtMemoryManager |
( |
| ) |
|
| virtual MAKVrExchange::DtMemoryManager::~DtMemoryManager |
( |
| ) |
|
|
virtual |
Safely destroys all memory pools.
| MAKVrExchange::DtMemoryManager::DtMemoryManager |
( |
const DtMemoryManager & |
other | ) |
|
|
private |
Member Function Documentation
| virtual void* MAKVrExchange::DtMemoryManager::create |
( |
const DtString & |
name, |
|
|
unsigned long |
size |
|
) |
| |
|
virtual |
Creates a memory pool and returns its address, or 0 if it can't be created.
| virtual void* MAKVrExchange::DtMemoryManager::address |
( |
const DtString & |
name | ) |
|
|
virtual |
returns the address of an already created memory pool, or 0 if there is no pool by that name.
| virtual void MAKVrExchange::DtMemoryManager::destroy |
( |
const DtString & |
name | ) |
|
|
virtual |
Destroys a pool with the given name, no op if the name doesn't exist;.
Member Data Documentation
The documentation for this class was generated from the following file: