summaryrefslogtreecommitdiffstats
path: root/include/framework/structure/BufferView.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-01-12 14:10:11 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2024-01-12 14:10:11 -0500
commitaac0bb661af8fae38d3ce08d6078cb4d9dfcb575 (patch)
tree347e0ce7f7e15f2610039f02b75d47cedf810cd6 /include/framework/structure/BufferView.h
parentc4514c2e62a711189cf3c914297885d97fb51a09 (diff)
downloaddynamic-extension-aac0bb661af8fae38d3ce08d6078cb4d9dfcb575.tar.gz
Initial integration of new buffering scheme into framework
It isn't working right now (lotsa test failures), but we're to the debugging phase now.
Diffstat (limited to 'include/framework/structure/BufferView.h')
-rw-r--r--include/framework/structure/BufferView.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/framework/structure/BufferView.h b/include/framework/structure/BufferView.h
index 47c7b9b..ba5e693 100644
--- a/include/framework/structure/BufferView.h
+++ b/include/framework/structure/BufferView.h
@@ -103,6 +103,10 @@ public:
memcpy(buffer, (std::byte*) (m_data + m_head), get_record_count() * sizeof(Wrapped<R>));
}
+ size_t get_tail() {
+ return m_tail;
+ }
+
private:
Wrapped<R>* m_data;
ReleaseFunction m_release;