MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrHlaTimeProvider.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
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 
25  {
26 
27  public:
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:
68  DtClock myClock;
69  DtTime myTimeAdvance;
70  DtTime myLastAbsTime;
71  double myLookahead;
72  };
73 
74 }
75 
76 #endif
77 #endif
DtLgrHlaSimulationManager * mySimManager
Definition: lgrHlaTimeProvider.h:67
Defines IMPORT/EXPORT macros for lgrSim library.
#define DT_DLL_LGRSIM
Definition: lgrSim.h:21
A Time provider that supports Wall clock time and time management.
Definition: lgrHlaTimeProvider.h:24
DtClock myClock
Definition: lgrHlaTimeProvider.h:68
The HLA simulation manager.
Definition: lgrHlaSimManager.h:84
double myLookahead
Definition: lgrHlaTimeProvider.h:71
Contains MAKLogger::DtTimeProvider and MAKLogger::DtWallClockTimeProvider and MAKLogger::DtLgrClock c...
An abstract class which provides time advances used by the DtLgrClock.
Definition: lgrClock.h:23
DtTime myTimeAdvance
Definition: lgrHlaTimeProvider.h:69
DtTime myLastAbsTime
Definition: lgrHlaTimeProvider.h:70

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)