lgrHlaTimeProvider.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00009 
00010 #if DtHLA
00011 
00012 #ifndef lgrHlaTimeProvider_H_
00013 #define lgrHlaTimeProvider_H_
00014 
00015 #include "lgrSim.h"
00016 #include "lgrClock.h"
00017 
00018 namespace MAKLogger
00019 {
00020    class DtLgrHlaSimulationManager;
00021 
00024    class DT_DLL_LGRSIM DtLgrHlaTimeProvider : public DtTimeProvider
00025    {
00026 
00027    public:
00029       DtLgrHlaTimeProvider(DtLgrHlaSimulationManager* simManager);
00030 
00032       virtual ~DtLgrHlaTimeProvider();
00033 
00037       virtual bool enableTimeConstrained();
00038 
00042       virtual bool disableTimeConstrained();
00043 
00045       virtual bool isTimeConstrained() const;
00046 
00049       virtual void tick();
00050 
00053       virtual double advancedTime() const;
00054 
00056       virtual double elapsedTime() const;
00057 
00059       virtual double timeOffset() const;
00060 
00062       virtual void resetTimeAdvance();
00063 
00064    protected:
00065       DtLgrHlaSimulationManager* mySimManager;
00066       DtClock myClock;
00067       double myTimeAdvance;
00068       double myLastAbsTime;
00069    };
00070 
00071 }
00072 
00073 #endif
00074 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)