VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eventIdHashKey.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifdef DtDIS
7 
8 #pragma once
9 
13 
14 #include <vlutil/vlMachineTypes.h>
15 #include <vlutil/vlHashKeys.h>
16 #include <vl/eventId.h>
17 
23 class DT_DLL_VL DtEventIdHashKey : public DtBaseHashKey
24 {
25 public:
26 
28  DtEventIdHashKey();
29 
31  DtEventIdHashKey(const DtEventID& id);
32 
34  virtual ~DtEventIdHashKey();
35 
37  DtEventIdHashKey(const DtEventIdHashKey& orig);
38 
40  DtEventIdHashKey& operator=(const DtEventIdHashKey& orig);
41 
44  virtual bool operator==(const DtBaseHashKey& other) const;
45 
47  virtual DtBaseHashKey* clone() const;
48 
50  virtual const DtEventID& value() const;
51 
53  virtual DtHashKeyType hashKeyType() const {return DtEventIdHashKeyType;}
54 
56  virtual const DtString stringRep() const;
57 
58 protected:
59 
61  virtual DtU64 computeHashValue();
62 
63 protected:
64 
65  DtEventID myId;
66 };
67 #endif
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
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:27
virtual DtBaseHashKey * clone() const =0
Make a copy of this hash key.
virtual DtHashKeyType hashKeyType() const
Get the type of HashKey.
Definition: vlHashKeys.h:66
Represents Events in the RPR FOM.
Definition: eventId.h:52
virtual DtU64 computeHashValue()=0
Compute the hashed value for this key.
This file declares DtBaseHashKey.
Contains the DtEventId class declaration.
Instances of DtString are used to represent strings.
Definition: vlString.h:29
virtual bool operator==(const DtBaseHashKey &other) const
equality operator
This file contains typedefs for machine dependant types.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)