VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
packets
logisticsP.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef _LOGISTICSP_H_
7
#define _LOGISTICSP_H_ 1
8
12
13
#include <
vlpi/NetStructs.h
>
14
#include "
pduHeader.h
"
15
16
/* ---------------------- service/supply/repair ---------------------- */
17
18
typedef
struct
19
{
20
DtNetEntityType
DtSupply
;
21
DtNetFloat32
DtQuantity
;
22
}
DtNetSupplyQuantity
;
23
24
/* per Document IST-CR-93-15 Section 5.4.4.2.1 */
25
typedef
struct
DtNetServiceRequestPdu
26
{
27
DtNetPduHeader
DtHeader
;
28
DtNetEntityIdentifier
DtReceiverId
;
29
DtNetEntityIdentifier
DtSupplierId
;
30
DtNetU8
DtService
;
31
DtNetU8
DtNumSupply
;
32
DtNet16Bits
unused_16
;
33
DtNetSupplyQuantity
DtQuantity
[1];
34
}
DtNetServiceRequestPdu
;
35
36
/* per Document IST-CR-93-15 Section 5.4.4.2.2 */
37
typedef
struct
DtNetResupplyOfferPdu
38
{
39
DtNetPduHeader
DtHeader
;
40
DtNetEntityIdentifier
DtReceiverId
;
41
DtNetEntityIdentifier
DtSupplierId
;
42
DtNetU8
DtNumSupply
;
43
DtNet8Bits
unused_8
;
44
DtNet16Bits
unused_16
;
45
DtNetSupplyQuantity
DtQuantity
[1];
46
}
DtNetResupplyOfferPdu
;
47
48
/* per Document IST-CD-93-15 Section 5.4.4.2.3 */
49
typedef
struct
DtNetResupplyReceivedPdu
50
{
51
DtNetPduHeader
DtHeader
;
52
DtNetEntityIdentifier
DtReceiverId
;
53
DtNetEntityIdentifier
DtSupplierId
;
54
DtNetU8
DtNumSupply
;
55
DtNet8Bits
unused_8
;
56
DtNet16Bits
unused_16
;
57
DtNetSupplyQuantity
DtQuantity
[1];
58
}
DtNetResupplyReceivedPdu
;
59
60
/* per Document IST-CD-93-15 Section 5.4.4.2.4 */
61
typedef
struct
DtNetResupplyCancelPdu
62
{
63
DtNetPduHeader
DtHeader
;
64
DtNetEntityIdentifier
DtReceiverId
;
65
DtNetEntityIdentifier
DtSupplierId
;
66
}
DtNetResupplyCancelPdu
;
67
68
/* per Document IST-CD-93-15 Section 5.4.4.2.5 */
69
typedef
struct
DtNetRepairCompletePdu
70
{
71
DtNetPduHeader
DtHeader
;
72
DtNetEntityIdentifier
DtRequestId
;
73
DtNetEntityIdentifier
DtRepairId
;
74
DtNetU16
DtRepair
;
75
DtNet16Bits
unused_16
;
76
}
DtNetRepairCompletePdu
;
77
78
/* per Document IST-CD-93-15 Section 5.4.4.2.6 */
79
typedef
struct
DtNetRepairResponsePdu
80
{
81
DtNetPduHeader
DtHeader
;
82
DtNetEntityIdentifier
DtRequestId
;
83
DtNetEntityIdentifier
DtRepairId
;
84
DtNetU8
DtResult
;
85
DtNet8Bits
unused_8
;
86
DtNet16Bits
unused_16
;
87
}
DtNetRepairResponsePdu
;
88
89
#endif
/* _LOGISTICSP_H_ */
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)