StimProducer: add destroyAttachedStimulusBuffer virtual method

Implemented in base class and in derived class
PcloudStimulusProducer.
This commit is contained in:
2025-11-20 01:25:46 -04:00
parent ee6405048a
commit 51d2a70a3f
5 changed files with 40 additions and 16 deletions
+3
View File
@@ -76,6 +76,9 @@ public:
const std::shared_ptr<device::DeviceAttachmentSpec>
&deviceAttachmentSpec) = 0;
virtual void destroyAttachedStimulusBuffer(
const std::shared_ptr<StimulusBuffer>& buffer);
// Check if any attached buffer has the specified qualeIfaceApi
bool hasBufferWithQualeIfaceApi(const std::string& qualeIfaceApi) const;