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
packets
vl/packets/signalP.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef _SIGNALP_H_
7
#define _SIGNALP_H_ 1
8
9
#include <
vlpi/netStructs.h
>
10
#include "
pduHeader.h
"
11
12
/* ---------------------- signal ---------------------- */
13
#ifdef __cplusplus
14
15
/* hopefully provide some insulation from
16
* the machine dependent bit field layouts */
17
class
DtSignalEncodingScheme
18
{
19
public
:
20
unsigned
eClass : 2;
21
unsigned
eType : 14;
22
DtU16
operator = (
DtU16
u)
23
{
24
eClass = u >> 14;
25
eType = u ^ 2<<14;
26
return
u;
27
}
28
operator
DtU16
()
29
{
30
DtU16
u;
31
u = eClass << 14 | eType;
32
return
u;
33
}
34
};
35
36
#endif
37
38
typedef
struct
DtNetSignalPdu
39
{
40
DtNetPduHeader
DtHeader
;
41
DtNetEntityIdentifier
DtTransmittingEntityID
;
42
DtNetU16
DtRadioId
;
43
DtNetU16
DtEncodingScheme
;
44
DtNetU16
TDLType
;
45
DtNetInt32
DtSampleRate
;
46
DtNetU16
DtLength
;
/* bits */
47
DtNetU16
DtSamples
;
48
DtNetU8
DtData
[1
/* len/8 */
];
49
}
DtNetSignalPdu
;
50
51
52
#endif
/* _SIGNALP_H_ */
53
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)