VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
intercomEntityDestRec.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtIntercomEntityDestRec_H_
11 #define DtIntercomEntityDestRec_H_
12 
13 #if DtDIS
14 
15 #include <vlutil/vlMachineTypes.h>
16 #include <vlpi/disEnums.h>
17 #include "hostStructs.h"
18 
19 #include "packets/intercmCtlP.h"
20 #include "intercomParmRec.h"
21 
22 
26 
27 class DT_DLL_VL DtIntercomEntityDestRec : public DtIntercomParmRec
28 {
29 
30 public:
31 
32 
34  DtIntercomEntityDestRec();
35  DtIntercomEntityDestRec(const DtIntercomEntityDestRec& orig);
36 
37 
39  virtual ~DtIntercomEntityDestRec();
40 
41 
43  DtIntercomEntityDestRec& operator=(
44  const DtIntercomEntityDestRec& orig);
45  DtIntercomEntityDestRec& operator=(
46  const DtNetIntercomEntityDestRec& orig);
47 
48 
50  virtual void setDestEntityID(const DtEntityIdentifier& entityID);
51  virtual const DtEntityIdentifier& destEntityID() const;
52 
54  virtual void setDestDeviceID(DtU16 deviceID);
55  virtual DtU16 destDeviceID() const;
56 
58  virtual void setDestLineID(DtU8 lineID);
59  virtual DtU8 destLineID() const;
60 
62  virtual void setDestPriority(DtU8 priority);
63  virtual DtU8 destPriority() const;
64 
66  virtual void setDestLineStateCmd(DtIntercomDestLineStateCmd cmd);
67  virtual DtIntercomDestLineStateCmd destLineStateCmd() const;
68 
70  virtual void print() const;
71 
73  virtual void printDataToStream(std::ostream& stream) const;
74 
76  virtual void unloadNetRecord(const DtNetIntercomEntityDestRec& record);
77  virtual void loadNetRecord(DtNetIntercomEntityDestRec& record) const;
78 
79 
80 
81 protected:
82 
83  DtEntityIdentifier myDestEntityID;
84  DtU16 myDestDeviceID;
85  DtU8 myDestLineID;
86  DtU8 myDestPriority;
87  DtIntercomDestLineStateCmd myDestLineStateCmd;
88 
89 };
90 
91 #endif
92 #endif
93 
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file declares classes related to intercom messages.
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
Contains the standard DIS enumerations.
DtIntercomDestLineStateCmd
Definition: disEnums.h:2018
This file contains typedefs for machine dependant types.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)