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
51
virtual
DtTime currentTime()
const
;
52
55
virtual
DtTime advancedTime()
const
;
56
58
virtual
DtTime elapsedTime()
const
;
59
61
virtual
DtTime timeOffset()
const
;
62
64
virtual
void
resetTimeAdvance();
65
66
protected
:
67
DtLgrHlaSimulationManager
*
mySimManager
;
68
DtClock
myClock
;
69
DtTime
myTimeAdvance
;
70
DtTime
myLastAbsTime
;
71
};
72
73
}
74
75
#endif
76
#endif
Document ID: Generated on Thu Apr 7 20:50:59 EDT 2016 from SVN revision 163818
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)