SyncableMessageQueue in progress

Co-authored-by: Jacob Molin <jacobmolin@users.noreply.github.com>
This commit is contained in:
Victor Lindquist
2022-04-05 14:22:44 -06:00
committed by VLLindqvist
parent 9b157d3a6c
commit 752408a9f9
22 changed files with 1264 additions and 329 deletions
+5
View File
@@ -28,6 +28,7 @@
#include <ghoul/misc/assert.h>
#include <ghoul/misc/profiling.h>
#include <algorithm>
// #include <ghoul/logging/logmanager.h>
namespace openspace {
@@ -44,6 +45,10 @@ std::vector<std::byte> SyncEngine::encodeSyncables() {
}
std::vector<std::byte> data = _syncBuffer.data();
// std::string msg = "_syncBuffer.size() (encodeSyncables):" + std::to_string(_syncBuffer.data().size());
// LWARNING(msg);
_syncBuffer.reset();
return data;
}