VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sensorRecord.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 
14  DtSensorRecord(const DtSensorRecord& orig);
16  DtSensorRecord(DtU8 sensoreTypeSource, DtU8 sensorOnOffStatus, DtU16 sensorType, DtU32 station, DtU16 quantity);
17 
20  virtual DtSensorRecord& operator=(const DtNetRecordSet& orig);
21 
23  void setSensorTypeSource(DtU8 sensorTypeSource);
24  DtU8 sensorTypeSource();
25 
27  void setSensorOnOffStatus(DtU8 stationLauncher);
28  DtU8 sensorOnOffStatus();
29 
31  void setSensorType(DtU16 quantity);
32  DtU16 sensorType();
33 
35  void setStation(DtU32 station);
36  DtU32 munitionStatus();
37 
39  void setQuantity(DtU16 quantity);
40  DtU16 quantity();
41 
43  virtual void print() const;
44 
45  virtual void printDataToStream(std::ostream& stream) const;
46 
52 };
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Definition: sensorRecord.h:7
Contains the DtEntityType and DtRadioEntityType class declarations.
virtual void print() const
Print this record.
DtU8 * mySensorTypeSource
Definition: sensorRecord.h:47
DtU16 * mySensorType
Definition: sensorRecord.h:49
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
DtU8 * mySensorOnOffStatus
Definition: sensorRecord.h:48
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
DtU32 * myStation
Definition: sensorRecord.h:50
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: sensorRecord.h:51

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)