VR-Link API Documentation for HLA Evolved
dataP4.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 #ifndef _DATAP4_H_
00007 #define _DATAP4_H_ 1
00008  
00012 
00013 
00014 /* ---------------------- set/get data ---------------------- */
00015 
00016 #include <vlpi/NetStructs.h>
00017 #include "pduHeader.h"
00018 
00019 /* per Document IST-CD-93-15 Section 5.4.5.9 */
00020 typedef struct DtNetDataQueryPdu 
00021 {
00022     DtNetPduHeader      header;
00023     DtNetEntityIdentifier  from;
00024     DtNetEntityIdentifier  to;
00025     DtNetU32         requestId;
00026     DtNetTimeStamp      timeInterval;
00027     DtNetU32         nfix;
00028     DtNetU32         nvar;
00029 /*  DtNetU32         fixID[nfix]; */
00030 /*  DtNetU32         varID[nvar]; */
00031 } DtNetDataQueryPdu;
00032 
00033 typedef struct DT_DLL_VL
00034 {
00035     DtNetU32 nfix;
00036     DtNetU32 nvar;
00037     DtNetU32 datumId[1];
00038 } DtNetQueryPduTail;
00039 
00040 typedef struct DT_DLL_VL /* per Document IST-CD-93-15 Section 5.4.5.1.2 */
00041 {
00042     DtNetU32      id;
00043     DtNetU32            val;
00044 } DtNetFixDatum;
00045 
00046 typedef struct DT_DLL_VL /* per Document IST-CD-93-15 Section 5.4.5.1.3 */
00047 {
00048     DtNetU32      id;
00049     DtNetU32            len;  /* bits */
00050     DtNet64Bits         val[1 /* len/64 */ ];
00051 } DtNetVarDatum;
00052 
00053 typedef struct DT_DLL_VL
00054 {
00055     DtNetU32 nfix;
00056     DtNetU32 nvar;
00057     DtNetFixDatum data[1];
00058 } DtNetDataPduTail;  
00059 
00060 /* per Document IST-CD-93-15 Section 5.4.5.10 and Section 5.4.5.11 */
00061 typedef struct DT_DLL_VL DtNetDataPdu 
00062 {
00063     DtNetPduHeader      header;
00064     DtNetEntityIdentifier  from;
00065     DtNetEntityIdentifier  to;
00066     DtNetU32         requestId;
00067     DtNetU32         padding;
00068     DtNetU32         nfix;
00069     DtNetU32         nvar;
00070 /*  DtNetFixDatum       fix[nfix]; */
00071 /*  DtNetVarDatum       var[nvar]; */
00072 } DtNetDataPdu;
00073 
00074 typedef struct DT_DLL_VL DtNetDataPdu DtNetSetDataPdu;
00075 
00076 #endif /* _DATAP_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)