VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
associationRecord.h
Go to the documentation of this file.
1 #include <vlpi/recordSet.h>
2 #include <vlpi/entityType.h>
3 #include <vlutil/vlPrintUtil.h>
4 #include <vlutil/vlPrint.h>
5 #include <vl/eventId.h>
7 #pragma once
9 {
10  public:
11 
17  DtAssociationRecord(DtU8 associationType, DtEntityIdentifier associatedEntity, DtVector64 associatedLocation);
18 
21  virtual DtAssociationRecord& operator=(const DtNetRecordSet& orig);
22 
24  void setAssociationType(DtU8 entityId);
25  DtU8 associationType();
26 
28  void setAssociatedEntity(DtEntityIdentifier entityId);
29  DtU16 associatedEntity();
30 
32  void setAssociatedLocation(DtVector64 associatedLoc);
33  DtVector64 associatedLocation();
34 
36  virtual void print() const;
37 
38  virtual void printDataToStream(std::ostream& stream) const;
39 
43 };
Contains the DtEntityIdentifier class declaration.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtEntityType and DtRadioEntityType class declarations.
virtual void print() const
Print this record.
unsigned long long DtU64
-------—— Network Layout for a long long (64 bytes unsigned)
Definition: vlMachineTypes.h:185
Functions in vlPrint.h provide an error and print facility for vrlink.
DtU16 * myAssociatedEntityId
Definition: associationRecord.h:41
Utility functions for printing objects.
DtRecordSet & operator=(const DtRecordSet &orig)
Assignment operators.
Instances of DtRecordSet are used to contain the record sets used by the PDU classes which inherit fr...
Definition: recordSet.h:38
Definition: vlVector.h:224
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
Definition: associationRecord.h:8
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
DtU8 * myAssociationType
Definition: associationRecord.h:40
DtNetRecordSet is the network structure for a record used by the PDU classes which inherit from the r...
Definition: recordSet.h:18
virtual void printDataToStream(std::ostream &stream) const
DtU64 * myAssociationWorldLocation
Definition: associationRecord.h:42
Contains the DtEventId class declaration.

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)