MAK Data Logger API Documentation for DIS
legacyLgrControlP.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #ifndef _LGCYLGRCONTROLP_H_
7 #define _LGCYLGRCONTROLP_H_ 1
8 
9 // ---------------------------- Logger Control ---------------------------------
10 
11 #include <vl/globalObjDes.h>
12 #include <vlpi/NetStructs.h>
13 #include <vl/packets/pduHeader.h>
14 
15 // Parameter constructs for lcPdu's that carry add'l data
16 
17 // Varlength string
18 typedef struct
19 {
20  //Playback or Record Filename (string)
21  DtNetU32 length;
22  DtNetInt8 val[1]; //place-holder reallocated at runtime
24 
26 
27 // Time related value (double)
28 // Note, through VR-Link 3.5, this was incorrectly represented as a DtNetU32.
29 typedef struct
30 {
31  DtNetFloat64 val;
33 
35 
36 // integer related value
37 typedef struct
38 {
39  DtNetU32 val;
41 
43 
44 // double precision argument
45 typedef struct
46 {
47  DtNetFloat64 val;
49 
51 
52 // make space for largest object
54 
55 //
56 // Logger Control PDU
57 //
58 typedef struct DtNetLgcyLgrControlPdu
59 {
60  // protocol specific header (DIS,HLA)
61  DtNetPduHeader header;
62 
63 #if DtHLA
64  // alignment
65  DtNetU32 pad0;
66 #endif
67 
68  // The sending application (e.g., logger, BattleMaster)
69  DtNetGlobalObjectDesignator senderId;
70  // The receiving application (e.g., Logger)
71  DtNetGlobalObjectDesignator receiverId;
72 
73  DtNetU16 pad1;
74  DtNetU16 command;
75  DtNetU32 pad2;
76 
77  // Args for lcPdu that pass data (e.g., DtLgcyLgrRecFile);
79 
81 
82 #endif // _LGRCONTROLP_H_
83 
84 

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)