VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entityIdentifierHashKey.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef DtEntityIdentifierHashKey_H_
7 #define DtEntityIdentifierHashKey_H_
8 
12 
13 #include <vlutil/vlHashKeys.h>
14 #include "entityIdentifier.h"
15 
22 {
23 public:
24 
27 
30 
32  virtual ~DtEntityIdentifierHashKey();
33 
36 
39 
42  virtual bool operator==(const DtBaseHashKey& other) const;
43 
45  virtual DtBaseHashKey* clone() const;
46 
48  virtual const DtEntityIdentifier& value() const;
49 
52 
54  virtual const DtString stringRep() const;
55 
56 protected:
57 
59  virtual DtU64 computeHashValue();
60 
61 protected:
62 
64 };
65 
66 #endif
Contains the DtEntityIdentifier class declaration.
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
DtHashKeyType
Definition: vlHashKeys.h:19
DtBaseHashKey & operator=(const DtBaseHashKey &orig)
assignment operator
DtEntityIdentifier myId
Definition: entityIdentifierHashKey.h:63
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
virtual DtHashKeyType hashKeyType() const
Get the type of HashKey.
Definition: entityIdentifierHashKey.h:51
unsigned long long DtU64
-------—— Network Layout for a long long (64 bytes unsigned)
Definition: vlMachineTypes.h:185
virtual const DtString stringRep() const =0
Get the string representation of this key.
virtual DtBaseHashKey * clone() const =0
Make a copy of this hash key.
Definition: vlHashKeys.h:26
virtual DtU64 computeHashValue()=0
Compute the hashed value for this key.
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
This file declares DtBaseHashKey.
#define DT_DLL_VLPROTIND
Definition: vlMachineTypes.h:110
Instances of DtString are used to represent strings.
Definition: vlString.h:29
virtual bool operator==(const DtBaseHashKey &other) const
equality operator

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)