VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
munitionRecord.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 
6 #pragma once
8 {
9  public:
10 
16  DtMunitionRecord(DtEntityType munitionType, DtU32 stationLauncher, DtU16 quantity, DtU8 munitionStatus);
17 
20  virtual DtMunitionRecord& operator=(const DtNetRecordSet& orig);
21 
23  void setMunitionType(DtEntityType munitionType);
24  DtEntityType munitionType();
26 
27  void setStationLauncher(DtU32 stationLauncher);
28  DtU32 stationLauncher();
29 
31  void setQuantity(DtU16 quantity);
32  DtU16 quantity();
33 
35  void setMunitionStatus(DtU8 quantity);
36  DtU8 munitionStatus();
37 
39  virtual void print() const;
40 
41  virtual void printDataToStream(std::ostream& stream) const;
42 
47 };
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtEntityType and DtRadioEntityType class declarations.
DtU8 * myMunitionStatus
Definition: munitionRecord.h:46
virtual void print() const
Print this record.
Functions in vlPrint.h provide an error and print facility for vrlink.
Utility functions for printing objects.
DtU8 * myMunitionType
Definition: munitionRecord.h:43
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
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
DtNetRecordSet is the network structure for a record used by the PDU classes which inherit from the r...
Definition: recordSet.h:18
Definition: munitionRecord.h:7
virtual void printDataToStream(std::ostream &stream) const
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
DtU32 * myStationLauncher
Definition: munitionRecord.h:44
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26
DtU16 * myQuantity
Definition: munitionRecord.h:45

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)