VR-Link API Documentation for DIS
 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 
28 {
29 
30 public:
31 
32 
36 
37 
39  virtual ~DtIntercomEntityDestRec();
40 
41 
44  const DtIntercomEntityDestRec& orig);
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 
88 
89 };
90 
91 #endif
92 #endif
93 
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtU16 myDestDeviceID
Definition: intercomEntityDestRec.h:84
DtU8 myDestLineID
Definition: intercomEntityDestRec.h:85
DtIntercomParmRec is an abstract base class for the parameter record classes which are used by the in...
Definition: intercomParmRec.h:23
This file declares classes related to intercom messages.
DtU8 myDestPriority
Definition: intercomEntityDestRec.h:86
Definition: intercmCtlP.h:29
Instances of DtIntercomEntityDestRec are used to contain the information in the entity destination pa...
Definition: intercomEntityDestRec.h:27
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.
DtIntercomDestLineStateCmd myDestLineStateCmd
Definition: intercomEntityDestRec.h:87
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
Contains the standard DIS enumerations.
DtIntercomParmRec & operator=(const DtIntercomParmRec &orig)
Assignment operator.
virtual void printDataToStream(std::ostream &stream) const
Print the record to a stream.
DtIntercomDestLineStateCmd
Definition: disEnums.h:2018
This file contains typedefs for machine dependant types.
virtual void print() const
Print the record type and length.
DtEntityIdentifier myDestEntityID
Definition: intercomEntityDestRec.h:83

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)