VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
letHeader.h
Go to the documentation of this file.
1
/*********************************************************************
2
* ** Copyright (c) 2011 VT MAK
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
20
class
DT_DLL_VL
DtLetHeader
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
41
virtual
void
setLetIdSymbol(
DtU8
val);
42
virtual
DtU8
letIdSymbol()
const
;
43
static
DtU8
maxLetIdSymbol
() {
return
0xf; };
45
47
48
virtual
void
setRelayTransmissionIndicator(
bool
val);
49
virtual
bool
relayTransmissionIndicator()
const
;
51
53
54
virtual
void
setLetMsgPackingType(
DtU8
val);
55
virtual
DtU8
letMsgPackingType()
const
;
56
static
DtU8
maxLetMsgPackingType
() {
return
0xf; };
58
60
61
virtual
void
setSourceTrackNumOfSender(
DtU16
val);
62
virtual
DtU16
sourceTrackNumOfSender()
const
;
63
static
DtU16
maxSourceTrackNumOfSender
() {
return
0x7fff; };
65
67
68
virtual
void
setSdusn(
DtU16
val);
69
virtual
DtU16
sdusn()
const
;
71
73
74
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
90
DtU8
myLetIdSymbol
;
91
bool
myRelayTransmissionIndicator
;
92
DtU8
myLetMsgPackingType
;
93
DtU16
mySourceTrackNum
;
94
DtU16
mySdusn
;
96
98
DtLetHeaderStruct
myRawData
;
99
};
100
101
DT_DLL_VL
std::ostream &
operator <<
(std::ostream &str,
const
DtLetHeader
&hdr);
102
103
#endif
104
#endif
Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)