VR-Link API Documentation for HLA 1516
logisticsP.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 #ifndef _LOGISTICSP_H_
00007 #define _LOGISTICSP_H_ 1
00008  
00012 
00013 #include <vlpi/NetStructs.h>
00014 #include "pduHeader.h"
00015 
00016 /* ---------------------- service/supply/repair ---------------------- */
00017 
00018 typedef struct
00019 {
00020     DtNetEntityType  DtSupply;
00021     DtNetFloat32  DtQuantity;
00022 } DtNetSupplyQuantity;
00023 
00024  /* per Document IST-CR-93-15 Section 5.4.4.2.1 */
00025 typedef struct DtNetServiceRequestPdu
00026 {
00027     DtNetPduHeader      DtHeader;
00028     DtNetEntityIdentifier  DtReceiverId;
00029     DtNetEntityIdentifier  DtSupplierId;
00030     DtNetU8       DtService;
00031     DtNetU8       DtNumSupply;
00032     DtNet16Bits         unused_16;
00033     DtNetSupplyQuantity    DtQuantity[1];
00034 } DtNetServiceRequestPdu;
00035 
00036 /* per Document IST-CR-93-15 Section 5.4.4.2.2 */
00037 typedef struct DtNetResupplyOfferPdu
00038 {
00039     DtNetPduHeader      DtHeader;
00040     DtNetEntityIdentifier  DtReceiverId;
00041     DtNetEntityIdentifier  DtSupplierId;
00042     DtNetU8       DtNumSupply;
00043     DtNet8Bits       unused_8;
00044     DtNet16Bits         unused_16;
00045     DtNetSupplyQuantity    DtQuantity[1];
00046 }  DtNetResupplyOfferPdu;
00047 
00048 /* per Document IST-CD-93-15 Section 5.4.4.2.3 */
00049 typedef struct DtNetResupplyReceivedPdu 
00050 {
00051     DtNetPduHeader      DtHeader;
00052     DtNetEntityIdentifier  DtReceiverId;
00053     DtNetEntityIdentifier  DtSupplierId;
00054     DtNetU8       DtNumSupply;
00055     DtNet8Bits       unused_8;
00056     DtNet16Bits         unused_16;
00057     DtNetSupplyQuantity    DtQuantity[1];
00058 }  DtNetResupplyReceivedPdu;
00059 
00060 /* per Document IST-CD-93-15 Section 5.4.4.2.4 */
00061 typedef struct DtNetResupplyCancelPdu
00062 {
00063     DtNetPduHeader      DtHeader;
00064     DtNetEntityIdentifier  DtReceiverId;
00065     DtNetEntityIdentifier  DtSupplierId;
00066 } DtNetResupplyCancelPdu;
00067 
00068 /* per Document IST-CD-93-15 Section 5.4.4.2.5 */
00069 typedef struct DtNetRepairCompletePdu
00070 {
00071     DtNetPduHeader      DtHeader;
00072     DtNetEntityIdentifier  DtRequestId;
00073     DtNetEntityIdentifier  DtRepairId;
00074     DtNetU16         DtRepair;
00075     DtNet16Bits         unused_16;
00076 } DtNetRepairCompletePdu;
00077 
00078 /* per Document IST-CD-93-15 Section 5.4.4.2.6 */
00079 typedef struct DtNetRepairResponsePdu 
00080 {
00081     DtNetPduHeader      DtHeader;
00082     DtNetEntityIdentifier  DtRequestId;
00083     DtNetEntityIdentifier  DtRepairId;
00084     DtNetU8       DtResult;
00085     DtNet8Bits       unused_8;
00086     DtNet16Bits         unused_16;
00087 } DtNetRepairResponsePdu;
00088 
00089 #endif /* _LOGISTICSP_H_ */

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)