VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
storageFuelRecord.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  DtStorageFuelRecord(DtU32 fuelQuantity, DtU8 fuelMeasurementUnits, DtU8 fuelType, DtU8 fuelLocation);
17 
20  virtual DtStorageFuelRecord& operator=(const DtNetRecordSet& orig);
21 
23  void setFuelQuantity(DtU32 fuelQuantity);
24  DtU32 fuelQuantity();
25 
27  void setFuelMeasurementUnits(DtU8 fuelMeasurementUnits);
28  DtU8 fuelMeasurementUnits();
29 
31  void setFuelType(DtU8 fuelType);
32  DtU8 fuelType();
33 
35  void setFuelLocation(DtU8 fuelLocation);
36  DtU8 fuelLocation();
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.
DtU8 * myFuelType
Definition: storageFuelRecord.h:45
Instances of DtRecordSet are used to contain the record sets used by the PDU classes which inherit fr...
Definition: recordSet.h:38
DtU8 * myFuelMeasurementUnits
Definition: storageFuelRecord.h:44
DtU32 * myFuelQuantity
Definition: storageFuelRecord.h:43
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
Definition: storageFuelRecord.h:7
DtU8 * myFuelLocation
Definition: storageFuelRecord.h:46
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

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)