VR-Exchange 2.10 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
memoryManager.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 MAK Technologies, Inc.
3  ** All rights reserved.
4  *********************************************************************/
5 
6 #ifndef memoryManager_H_
7 #define memoryManager_H_
8 
12 
13 #include <portal/dllExport.h>
14 #include <vlutil/vlShmPool.h>
15 #include <map>
16 
17 namespace MAKVrExchange {
18 
24 {
25 public:
26 
28 
30  virtual ~DtMemoryManager();
31 
32 private:
33 
35  DtMemoryManager(const DtMemoryManager& other);
37  DtMemoryManager& operator=(const DtMemoryManager& other);
38 
39 public:
40 
43  virtual void *create(const DtString& name, unsigned long size);
44 
47  virtual void *address(const DtString& name);
48 
51  virtual void destroy(const DtString& name);
52 
53 
54 protected:
55 
56  typedef std::map<DtString, DtSharedMemoryPoolManager*> DtStringMemoryPoolMap;
58 
59 };
60 }
61 
62 #endif //end #ifndef memoryManager_H_
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
std::map< DtString, DtSharedMemoryPoolManager * > DtStringMemoryPoolMap
Definition: memoryManager.h:56
Responsible for the creation and managment of all shared memory pools.
Definition: memoryManager.h:23
DtStringMemoryPoolMap myMemoryPoolMap
Definition: memoryManager.h:57

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)