VR-Exchange 2.10 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Attributes | Private Member Functions
MAKVrExchange::DtMemoryManager Class Reference

Responsible for the creation and managment of all shared memory pools. More...

Public Member Functions

 DtMemoryManager ()
 
virtual ~DtMemoryManager ()
 Safely destroys all memory pools. More...
 
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. More...
 
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. More...
 
virtual void destroy (const DtString &name)
 Destroys a pool with the given name, no op if the name doesn't exist;. More...
 

Protected Types

typedef std::map< DtString,
DtSharedMemoryPoolManager * > 
DtStringMemoryPoolMap
 

Protected Attributes

DtStringMemoryPoolMap myMemoryPoolMap
 

Private Member Functions

 DtMemoryManager (const DtMemoryManager &other)
 Not implemented. More...
 
DtMemoryManageroperator= (const DtMemoryManager &other)
 Not implemented. More...
 

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

typedef std::map<DtString, DtSharedMemoryPoolManager*> MAKVrExchange::DtMemoryManager::DtStringMemoryPoolMap
protected

Constructor & Destructor Documentation

MAKVrExchange::DtMemoryManager::DtMemoryManager ( )
virtual MAKVrExchange::DtMemoryManager::~DtMemoryManager ( )
virtual

Safely destroys all memory pools.

MAKVrExchange::DtMemoryManager::DtMemoryManager ( const DtMemoryManager other)
private

Not implemented.

Member Function Documentation

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::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::destroy ( const DtString name)
virtual

Destroys a pool with the given name, no op if the name doesn't exist;.

DtMemoryManager& MAKVrExchange::DtMemoryManager::operator= ( const DtMemoryManager other)
private

Not implemented.

Member Data Documentation

DtStringMemoryPoolMap MAKVrExchange::DtMemoryManager::myMemoryPoolMap
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 25 18:45:12 EDT 2026 from SVN revision 289111
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)