diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-01-12 14:10:11 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-01-12 14:10:11 -0500 |
| commit | aac0bb661af8fae38d3ce08d6078cb4d9dfcb575 (patch) | |
| tree | 347e0ce7f7e15f2610039f02b75d47cedf810cd6 /include/framework/structure/BufferView.h | |
| parent | c4514c2e62a711189cf3c914297885d97fb51a09 (diff) | |
| download | dynamic-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.h | 4 |
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; |