StimBuff: make start/stop virtual;

We can now have the derived StimBuff class implement its own
start()/stop() preamble and epilogue.
This commit is contained in:
2025-11-01 22:03:28 -04:00
parent 05515743c5
commit 10e615e75e
3 changed files with 22 additions and 2 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ public:
StimulusBuffer& operator=(StimulusBuffer&&) = default;
// Control methods
void start()
virtual void start()
{
std::cout << __func__ << ": Starting stimulus buffer for device "
<< deviceAttachmentSpec.deviceSelector << std::endl;
@@ -76,7 +76,7 @@ public:
scheduleNextTimeout();
}
void stop();
virtual void stop();
protected:
// Virtual functions for derived classes to override