MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
legacyLoggerControl
packets
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/globalObjectDesignator.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
23
}
DtNetLgcyLgrStringParams
;
24
25
typedef
DtNetLgcyLgrStringParams
DtLgcyLgrStringParams
;
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
;
32
}
DtNetLgcyLgrTimeParams
;
33
34
typedef
DtNetLgcyLgrTimeParams
DtLgcyLgrTimeParams
;
35
36
// integer related value
37
typedef
struct
38
{
39
DtNetU32
val
;
40
}
DtNetLgcyLgrIntParams
;
41
42
typedef
DtNetLgcyLgrIntParams
DtLgcyLgrIntParams
;
43
44
// double precision argument
45
typedef
struct
46
{
47
DtNetFloat64
val
;
48
}
DtNetLgcyLgrRealParams
;
49
50
typedef
DtNetLgcyLgrRealParams
DtLgcyLgrRealParams
;
51
52
// make space for largest object
53
typedef
DtNetLgcyLgrRealParams
DtNetLgcyLgrControlParams
;
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);
78
DtNetLgcyLgrControlParams
params
;
79
80
}
DtNetLgcyLgrControlPdu
;
81
82
#endif // _LGRCONTROLP_H_
83
84
Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)