VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
expendableRecord.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  DtExpendableRecord(DtEntityType ExpendableType, DtU32 stationLauncher, DtU16 quantity, DtU8 ExpendableStatus);
17 
20  virtual DtExpendableRecord& operator=(const DtNetRecordSet& orig);
21 
23  void setExpendableType(DtEntityType ExpendableType);
24  DtEntityType expendableType();
26 
27  void setStationLauncher(DtU32 stationLauncher);
28  DtU32 stationLauncher();
29 
31  void setQuantity(DtU16 quantity);
32  DtU16 quantity();
33 
35  void setExpendableStatus(DtU8 quantity);
36  DtU8 expendableStatus();
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.
virtual void print() const
Print this record.
Functions in vlPrint.h provide an error and print facility for vrlink.
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
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
DtU8 * myExpendableStatus
Definition: expendableRecord.h:46
Definition: expendableRecord.h:7
DtU16 * myExpendableType
Definition: expendableRecord.h:43
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
virtual void printDataToStream(std::ostream &stream) const
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
DtU16 * myQuantity
Definition: expendableRecord.h:45
DtU32 * myStationLauncher
Definition: expendableRecord.h:44
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26

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)