MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrControlP.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 // ---------------------------- Logger Control ---------------------------------
13 
14 #include <vl/globalObjectDesignator.h>
15 #include <vl/packets/pduHeader.h>
16 #include <vlpi/netStructs.h>
17 
18 // Parameter constructs for lcPdu's that carry add'l data
19 
20 // Varlength string
21 typedef struct
22 {
23  //Playback or Record Filename (string)
24  DtNetU32 length;
25  DtNetInt8 val[1]; //place-holder reallocated at runtime
27 
29 
30 // Time related value (double)
31 // Note, through VR-Link 3.5, this was incorrectly represented as a DtNetU32.
32 typedef struct
33 {
34  DtNetFloat64 val;
36 
38 
39 // integer related value
40 typedef struct
41 {
42  DtNetU32 val;
44 
46 
47 // double precision argument
48 typedef struct
49 {
50  DtNetFloat64 val;
52 
54 
55 // make space for largest object
57 
58 //
59 // Logger Control PDU
60 //
61 typedef struct DtNetLgrControlPdu
62 {
63  // protocol specific header (DIS,HLA)
64  DtNetPduHeader header;
65 
66  // The sending application (e.g., logger, BattleMaster)
67  DtNetEntityIdentifier senderId;
68  // The receiving application (e.g., Logger)
69  DtNetEntityIdentifier receiverId;
70 
71  DtNetU16 command;
72  DtNetU16 version;
73  DtNetU32 sequence;
74 
75  // Args for lcPdu that pass data (e.g., DtLgrRecFile);
77 
79 

Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (www.mak.com)