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
dataP4.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef _DATAP4_H_
7
#define _DATAP4_H_ 1
8
12
13
14
/* ---------------------- set/get data ---------------------- */
15
16
#include <
vlpi/netStructs.h
>
17
#include "
pduHeader.h
"
18
19
/* per Document IST-CD-93-15 Section 5.4.5.9 */
20
typedef
struct
DtNetDataQueryPdu
21
{
22
DtNetPduHeader
header
;
23
DtNetEntityIdentifier
from
;
24
DtNetEntityIdentifier
to
;
25
DtNetU32
requestId
;
26
DtNetTimeStamp
timeInterval
;
27
DtNetU32
nfix
;
28
DtNetU32
nvar
;
29
/* DtNetU32 fixID[nfix]; */
30
/* DtNetU32 varID[nvar]; */
31
}
DtNetDataQueryPdu
;
32
33
typedef
struct
DT_DLL_VL
34
{
35
DtNetU32
nfix
;
36
DtNetU32
nvar
;
37
DtNetU32
datumId[1];
38
}
DtNetQueryPduTail
;
39
40
typedef
struct
DT_DLL_VL
/* per Document IST-CD-93-15 Section 5.4.5.1.2 */
41
{
42
DtNetU32
id
;
43
DtNetU32
val
;
44
}
DtNetFixDatum
;
45
46
typedef
struct
DT_DLL_VL
/* per Document IST-CD-93-15 Section 5.4.5.1.3 */
47
{
48
DtNetU32
id
;
49
DtNetU32
len
;
/* bits */
50
DtNet64Bits
val[1
/* len/64 */
];
51
}
DtNetVarDatum
;
52
53
typedef
struct
DT_DLL_VL
54
{
55
DtNetU32
nfix
;
56
DtNetU32
nvar
;
57
DtNetFixDatum
data[1];
58
}
DtNetDataPduTail
;
59
60
/* per Document IST-CD-93-15 Section 5.4.5.10 and Section 5.4.5.11 */
61
typedef
struct
DT_DLL_VL
DtNetDataPdu
62
{
63
DtNetPduHeader
header
;
64
DtNetEntityIdentifier
from
;
65
DtNetEntityIdentifier
to
;
66
DtNetU32
requestId
;
67
DtNetU32
padding
;
68
DtNetU32
nfix
;
69
DtNetU32
nvar
;
70
/* DtNetFixDatum fix[nfix]; */
71
/* DtNetVarDatum var[nvar]; */
72
}
DtNetDataPdu
;
73
74
typedef
struct
DT_DLL_VL
DtNetDataPdu
DtNetSetDataPdu
;
75
76
#endif
/* _DATAP_H_ */
Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)