VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
iffInteractiveBasicMode5Record.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #ifdef DtDIS
9 
12 
13 
15 {
16 public:
17 
20 
23 
25  DtIffInteractiveBasicMode5Record(void* ptr, unsigned int size);
26 
29 
32 
34  virtual DtStandardVariableRecord& operator=(const DtStandardVariableRecord& other);
35 
37  virtual bool operator==(const DtIffInteractiveBasicMode5Record& record);
38 
40  virtual bool operator==(const DtStandardVariableRecord& record);
41 
43  static DtStandardVariableRecord* create(void* addr, unsigned int length);
44 
46  virtual DtStandardVariableRecord* clone() const;
47 
49  virtual unsigned int recordType() const;
50  virtual void setRecordType(unsigned int recordType);
51 
53  virtual unsigned int recordLength() const;
54  virtual void setRecordLength(unsigned int recordLength);
55 
57  virtual void printDataToStream(std::ostream& stream) const;
58 
59  // Writes the network representation to the given address.
60  // The assumption is that this memory is allocated and is of the proper size.
61  virtual void writeRecord(void * addr) const;
62 
64  virtual void setFromNet( const void* netRecord, unsigned int length,
65  DtStandardVariableRetCode* retCode = NULL);
66 
68  virtual unsigned unpaddedNetsize() const;
69 
71  virtual void setMode5MessageFormats(DtU32);
72  virtual DtU32 mode5MessageFormats() const;
73 
74 protected:
77 
78 };
79 
80 #endif //DtDIS
Definition: iffAtcNavaidsVariableRecord.h:11
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual unsigned unpaddedNetsize() const =0
This is the network size of the record without padding.
Definition: iffInteractiveBasicMode5Record.h:14
Definition: iffVariantRecordsP.h:119
virtual DtStandardVariableRecord * clone() const =0
Clone.
virtual void setRecordLength(unsigned int recordLength)=0
Must include size of record header and padding to 8 bytes.
virtual void printDataToStream(std::ostream &stream) const =0
Prints the data to the specified stream.
virtual bool operator==(const DtStandardVariableRecord &other)=0
Equals operator.
DtNetIffInteractiveBasicMode5Record myInteractiveBasicMode5Record
Definition: iffInteractiveBasicMode5Record.h:75
virtual void writeRecord(void *addr) const =0
virtual unsigned int recordLength() const =0
Get/Set Record Length.
virtual unsigned int recordType() const =0
Get/Set Record Type.
virtual void setRecordType(unsigned int recordType)=0
Get/Set Record Type.
virtual void setFromNet(const void *netRecord, unsigned int length, DtStandardVariableRetCode *retCode=NULL)=0
Sets the record from Network Representation from the given location.
Definition: standardVariableRecord.h:23
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
DtStandardVariableRetCode
Definition: standardVariableRecord.h:15
DtNetIffInteractiveBasicMode5Record * myInteractiveBasicMode5RecordPtr
Definition: iffInteractiveBasicMode5Record.h:76

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)