mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-26 05:58:48 -05:00
Feature/time topic changes (#863)
* Time topic updates * Update web gui and patch jsonconverters
This commit is contained in:
@@ -41,13 +41,16 @@ public:
|
||||
private:
|
||||
const int UnsetOnChangeHandle = -1;
|
||||
|
||||
nlohmann::json currentTime();
|
||||
nlohmann::json deltaTime();
|
||||
void sendCurrentTime();
|
||||
void sendFullTimeData();
|
||||
|
||||
int _timeCallbackHandle = UnsetOnChangeHandle;
|
||||
int _deltaTimeCallbackHandle = UnsetOnChangeHandle;
|
||||
bool _isDone = false;
|
||||
std::chrono::system_clock::time_point _lastUpdateTime;
|
||||
|
||||
bool _lastPauseState = false;
|
||||
double _lastTargetDeltaTime = 0.0;
|
||||
};
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
Reference in New Issue
Block a user