VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
nodeMap.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: nodeMap.h,v $ $Revision: 1.9 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef nodeMap_H_
10
#define nodeMap_H_
11
12
#include "
gdb/gdbDefines.h
"
13
#include <vlutil/vlNetTypes.h>
14
#include <vlutil/vlHashlist.h>
15
#include "
gdb/gdbHashKey.h
"
16
17
// forward declaration
18
class
DtGdbNode
;
19
20
class
DT_DLL_gdb
DtNodeMap
:
public
DtHashlist
21
{
22
public
:
23
24
// constructor
25
DtNodeMap
();
26
27
// destructor
28
virtual
~
DtNodeMap
();
29
30
// checks to see if there is an entry corresponding
31
// to input pointer.
32
DtGdbNode
* lookupNewNode(
int
oldMemAddress);
33
34
// determines if there is an entry in the hashtable
35
// corresponding to the pointer.
36
bool
nodeAlreadyInMap(
const
DtGdbNode
* n);
37
38
// makes an entry in the hashtable
39
void
associate(DtNetInt32 oldMemAddress,
DtGdbNode
* n);
40
41
protected
:
42
43
static
const
int
theAssocTableCapacity
;
44
45
protected
:
46
47
//maintain an array of the keys you enter in the
48
//hashtable so you can delete them.
49
unsigned
int
myTableSize
;
50
};
51
52
#endif
53
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)