aboutsummaryrefslogtreecommitdiff
path: root/include/odhtdb/StagedObject.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/odhtdb/StagedObject.hpp')
-rw-r--r--include/odhtdb/StagedObject.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/odhtdb/StagedObject.hpp b/include/odhtdb/StagedObject.hpp
new file mode 100644
index 0000000..0c9b534
--- /dev/null
+++ b/include/odhtdb/StagedObject.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "utils.hpp"
+#include "Hash.hpp"
+#include "DataView.hpp"
+
+namespace odhtdb
+{
+ struct StagedObject
+ {
+ DISABLE_COPY(StagedObject)
+ DataView data;
+ std::shared_ptr<Hash> requestKey;
+
+ StagedObject(DataView &_data, const std::shared_ptr<Hash> &_requestKey) :
+ data(_data),
+ requestKey(_requestKey)
+ {
+
+ }
+ };
+}