VR-Exchange 2.1 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
portal
memoryManager.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef memoryManager_H_
7
#define memoryManager_H_
8
12
13
#include <
namespace.h
>
14
#include <vlutil/vlShmPool.h>
15
#include <map>
16
17
namespace
MAKVrExchange
{
18
23
class
DT_DLL_LIBPORTAL
DtMemoryManager
24
{
25
public
:
26
27
DtMemoryManager
();
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
;
57
DtStringMemoryPoolMap
myMemoryPoolMap
;
58
59
};
60
}
61
62
#endif //end #ifndef memoryManager_H_
Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (
www.mak.com
)