MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrSim
lgrHlaTimeProvider.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#if DtHLA
11
12
#ifndef lgrHlaTimeProvider_H_
13
#define lgrHlaTimeProvider_H_
14
15
#include <
lgrSim/lgrSim.h
>
16
#include <
lgrCore/lgrClock.h
>
17
18
namespace
MAKLogger
19
{
20
class
DtLgrHlaSimulationManager;
21
24
class
DT_DLL_LGRSIM
DtLgrHlaTimeProvider
:
public
DtTimeProvider
25
{
26
27
public
:
29
DtLgrHlaTimeProvider
(
DtLgrHlaSimulationManager
* simManager);
30
32
virtual
~
DtLgrHlaTimeProvider
();
33
37
virtual
bool
enableTimeConstrained();
38
42
virtual
bool
disableTimeConstrained();
43
45
virtual
bool
isTimeConstrained()
const
;
46
49
virtual
void
tick();
50
52
virtual
void
resetTick();
53
55
virtual
DtTime currentTime()
const
;
56
58
virtual
DtTime elapsedTime()
const
;
59
61
virtual
DtTime timeOffset()
const
;
62
64
virtual
void
setLookahead(
double
lookaheadToUse);
65
66
protected
:
67
DtLgrHlaSimulationManager
*
mySimManager
;
68
DtClock
myClock
;
69
DtTime
myTimeAdvance
;
70
DtTime
myLastAbsTime
;
71
double
myLookahead
;
72
};
73
74
}
75
76
#endif
77
#endif
Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (
www.mak.com
)