summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2024-12-22 15:12:13 -0500
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2024-12-22 15:12:13 -0500
commitba65c8976f54d4da2467074235a12f5be0bd5ebc (patch)
tree955d5995f211d8a7a24f7b106912773db5e3a5ba /include/framework/scheduling
parent5617bed5257506d3dfda8537b16f44b3e40f1b42 (diff)
downloaddynamic-extension-ba65c8976f54d4da2467074235a12f5be0bd5ebc.tar.gz
Continued development
Diffstat (limited to 'include/framework/scheduling')
-rw-r--r--include/framework/scheduling/Epoch.h8
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