VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
letHeader.h
Go to the documentation of this file.
1 /*********************************************************************
2 * ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 * ** All rights reserved.
4 * *********************************************************************/
5 /*********************************************************************
6 * ** $RCSfile: hLetHeader.h,v $ $Revision: 1.1 $ $State: Exp $
7 * *********************************************************************/
8 
9 #ifdef DtHLA
10 
11 #ifndef LetHeader_H_
12 #define LetHeader_H_
13 
14 
15 #include <vl/link16Structs.h>
16 #include <ostream>
17 #include <vector>
18 #include <vlutil/vlNetTypes.h>
19 
21 {
22 public:
23 
25  DtLetHeader();
26 
28  virtual ~DtLetHeader();
29 
31  DtLetHeader(const DtLetHeader& orig);
32 
34  DtLetHeader& operator=(const DtLetHeader& orig);
35 
36  virtual void printData() const;
37  virtual void printDataToStream(std::ostream& stream) const;
38 
40  virtual void setLetIdSymbol(DtU8 val);
42  virtual DtU8 letIdSymbol() const;
43  static DtU8 maxLetIdSymbol() { return 0xf; };
45 
47  virtual void setRelayTransmissionIndicator(bool val);
49  virtual bool relayTransmissionIndicator() const;
51 
53  virtual void setLetMsgPackingType(DtU8 val);
55  virtual DtU8 letMsgPackingType() const;
56  static DtU8 maxLetMsgPackingType() { return 0xf; };
58 
60  virtual void setSourceTrackNumOfSender(DtU16 val);
62  virtual DtU16 sourceTrackNumOfSender() const;
63  static DtU16 maxSourceTrackNumOfSender() { return 0x7fff; };
65 
67  virtual void setSdusn(DtU16 val);
69  virtual DtU16 sdusn() const;
71 
73  virtual void setRawData(const DtLetHeaderStruct& data);
75  virtual const DtLetHeaderStruct& rawData() const;
77 
78  static DtU32 rawDataSize() { return DtLetHeaderSize; }
79 
80 protected:
81 
83  virtual void convertToRawData();
84 
86  virtual void convertToFields();
87 
89  DtU8 myLetIdSymbol;
96 
99 };
100 
101 DT_DLL_VL std::ostream & operator << (std::ostream &str, const DtLetHeader &hdr);
102 
103 #endif
104 #endif
Definition: letHeader.h:20
static DtU32 rawDataSize()
Definition: letHeader.h:78
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
bool myRelayTransmissionIndicator
Values for individual fields in header.
Definition: letHeader.h:91
std::ostream & operator<<(std::ostream &os, const Dt3dChord &chord)
DtU8 myLetMsgPackingType
Values for individual fields in header.
Definition: letHeader.h:92
DtU16 mySourceTrackNum
Values for individual fields in header.
Definition: letHeader.h:93
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
Definition: link16Structs.h:28
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
DtLetHeaderStruct myRawData
Raw data.
Definition: letHeader.h:98
static DtU8 maxLetIdSymbol()
Set/Get the LET ID Symbol.
Definition: letHeader.h:43
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
DtU16 mySdusn
Values for individual fields in header.
Definition: letHeader.h:94
static DtU8 maxLetMsgPackingType()
Set/Get the LET Message Packing Type.
Definition: letHeader.h:56
const DtU32 DtLetHeaderSize
Definition: link16Structs.h:27
static DtU16 maxSourceTrackNumOfSender()
Set/Get the Source Track Number of Sender.
Definition: letHeader.h:63

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)