changed how time keyframes are used

This commit is contained in:
Joakim Kilby
2015-07-05 16:41:38 +02:00
parent 93e4a9b526
commit b53efe4f0e
4 changed files with 100 additions and 46 deletions
@@ -88,7 +88,7 @@ namespace openspace{
void signalDisconnect();
void update(double dt);
void preSynchronization();
enum MessageTypes{
Authentication=0,
@@ -188,6 +188,10 @@ namespace openspace{
std::atomic<bool> _tryConnect;
std::vector<std::vector<char>> _sendBuffer;
std::mutex _sendBufferMutex;
network::datamessagestructures::TimeKeyframe _latestTimeKeyframe;
std::mutex _timeKeyframeMutex;
std::atomic<bool> _latestTimeKeyframeValid;
};
} // namespace network