VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
launchedMunitionRecord.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>
6 #include <vl/eventId.h>
7 #pragma once
9 {
10  public:
11 
17  DtLaunchedMunitionRecord(DtEventId fireEvent, DtEntityIdentifier shooter, DtEntityIdentifier target, DtVector64 worldLocation);
18 
22 
24  void setFireEvent(DtEventId eventId);
25  DtEventId fireEvent();
26 
28  void setFiringEntity(DtEntityIdentifier entityId);
29  DtEntityIdentifier firingEntity();
30 
32  void setTargetEntity(DtEntityIdentifier entityId);
33  DtEntityIdentifier targetEntity();
34 
36  void setWorldLocation(DtVector64 worldLoc);
37  DtVector64 worldLocation();
38 
40  virtual void print() const;
41 
42  virtual void printDataToStream(std::ostream& stream) const;
43 #ifdef DtHLA
46 #endif
47 #ifdef DtDIS
48  DtU16* myFireEventId;
49 #endif
53 };
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.
Utility functions for printing objects.
DtU16 * myFiringEntityId
Definition: launchedMunitionRecord.h:50
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
Represents Events in the RPR FOM.
Definition: eventId.h:52
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
DtU16 * myTargetEntityId
Definition: launchedMunitionRecord.h:51
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
DtU64 * myWorldLocation
Definition: launchedMunitionRecord.h:52
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
Contains the DtEventId class declaration.
Instances of DtString are used to represent strings.
Definition: vlString.h:36
DtString * myFireEventIdObjectDesignator
Definition: launchedMunitionRecord.h:44
DtU64 * myFireEventIdEventNum
Definition: launchedMunitionRecord.h:45
Definition: launchedMunitionRecord.h:8

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)