diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-12-22 15:12:13 -0500 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-12-22 15:12:13 -0500 |
| commit | ba65c8976f54d4da2467074235a12f5be0bd5ebc (patch) | |
| tree | 955d5995f211d8a7a24f7b106912773db5e3a5ba /include/framework/scheduling/Epoch.h | |
| parent | 5617bed5257506d3dfda8537b16f44b3e40f1b42 (diff) | |
| download | dynamic-extension-ba65c8976f54d4da2467074235a12f5be0bd5ebc.tar.gz | |
Continued development
Diffstat (limited to 'include/framework/scheduling/Epoch.h')
| -rw-r--r-- | include/framework/scheduling/Epoch.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/framework/scheduling/Epoch.h b/include/framework/scheduling/Epoch.h index 303ab2f..95c64ea 100644 --- a/include/framework/scheduling/Epoch.h +++ b/include/framework/scheduling/Epoch.h @@ -54,11 +54,13 @@ public: Epoch &operator=(const Epoch &) = delete; Epoch &operator=(Epoch &&) = delete; - size_t get_epoch_number() { return m_epoch_number; } + size_t get_epoch_number() const { return m_epoch_number; } - Structure *get_structure() { return m_structure; } + const Structure *get_structure() const { return m_structure; } - BufView get_buffer() { return m_buffer->get_buffer_view(m_buffer_head); } + Structure *get_mutable_structure() { return m_structure; } + + BufView get_buffer() const { return m_buffer->get_buffer_view(m_buffer_head); } /* * Returns a new Epoch object that is a copy of this one. The new object |