VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
iffSystemHashKey.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #pragma once
11 
12 #include "globalObjectDesignator.h"
14 
18 {
19 
20 public:
21 
24 
27  DtU16 systemType, DtU16 systemName, DtU8 systemDesignator );
28 
30  virtual ~DtIFFSystemHashKey();
31 
34 
37 
39  virtual DtBaseHashKey* clone() const;
40 
42  virtual int value() const;
43 
46 
48  virtual const DtString stringRep() const;
49 
51  virtual DtU64 systemType() const { return mySystemType; }
52  virtual void setSystemType(DtU64 val) { mySystemType = val; }
53  virtual DtU64 systemName() const { return mySystemName; }
54  virtual void setSystemName(DtU64 val) { mySystemName = val; }
55  virtual DtU64 systemDesignator() const { return mySystemDesignator; }
56  virtual void setSystemDesignator(DtU64 val) { mySystemDesignator = val; }
57 
58 protected:
59 
61  virtual DtU64 computeHashValue();
62 
63 protected:
64 
69 };
70 
71 
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
DtHashKeyType
Definition: vlHashKeys.h:19
virtual DtU64 systemName() const
Definition: iffSystemHashKey.h:53
DtBaseHashKey & operator=(const DtBaseHashKey &orig)
assignment operator
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtU64 mySystemDesignator
Definition: iffSystemHashKey.h:68
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
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.
Definition: vlHashKeys.h:28
This file contains typedefs used to represent objects in a protocol neutral way.
virtual DtBaseHashKey * clone() const =0
Make a copy of this hash key.
virtual DtU64 systemDesignator() const
Definition: iffSystemHashKey.h:55
virtual DtHashKeyType hashKeyType() const
Get the type of HashKey.
Definition: iffSystemHashKey.h:45
This file declares DtEntityIdentifierHashKey.
virtual void setSystemType(DtU64 val)
Definition: iffSystemHashKey.h:52
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
virtual void setSystemName(DtU64 val)
Definition: iffSystemHashKey.h:54
Instances of DtIFFSystemHashKey are used as hash keys for an emitter system.
Definition: iffSystemHashKey.h:17
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
DtEntityIdentifierHashKey myEntityHashKey
Definition: iffSystemHashKey.h:65
virtual DtU64 systemType() const
Accessors.
Definition: iffSystemHashKey.h:51
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
Instances of DtString are used to represent strings.
Definition: vlString.h:29
virtual void setSystemDesignator(DtU64 val)
Definition: iffSystemHashKey.h:56
DtU64 mySystemType
Definition: iffSystemHashKey.h:66
DtU64 mySystemName
Definition: iffSystemHashKey.h:67

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)