VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
systemHashKey.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtSystemHashKey_H_
11 #define DtSystemHashKey_H_
12 
13 #include "globalObjectDesignator.h"
15 
19 {
20 
21 public:
22 
25 
27  DtSystemHashKey(const DtGlobalObjectDesignator& id, int systemId);
28 
30  virtual ~DtSystemHashKey();
31 
33  DtSystemHashKey(const DtSystemHashKey& orig);
34 
37 
39  virtual DtBaseHashKey* clone() const;
40 
42  virtual int value() const;
43 
45  virtual DtHashKeyType hashKeyType() const {return DtSystemHashKeyType;}
46 
48  virtual const DtString stringRep() const;
49 
50 protected:
51 
53  virtual DtU64 computeHashValue();
54 
55 protected:
56 
59 
60 };
61 
62 #endif
63 
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
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
Instances of DtSystemHashKey are used as hash keys for an emitter system.
Definition: systemHashKey.h:18
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.
This file contains typedefs used to represent objects in a protocol neutral way.
int mySystemId
Definition: systemHashKey.h:58
virtual DtBaseHashKey * clone() const =0
Make a copy of this hash key.
virtual DtHashKeyType hashKeyType() const
Get the type of HashKey.
Definition: systemHashKey.h:45
Definition: vlHashKeys.h:30
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
DtGlobalObjectDesignatorHashKey myDesHashKey
Definition: systemHashKey.h:57
Instances of DtString are used to represent strings.
Definition: vlString.h:29

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)