Rename StimulusBuffer=>StimulusProducer

Next we'll split the StimulusBuffer-related stuff into a new class
StimulusBuffer.
This commit is contained in:
2025-11-14 19:50:51 -04:00
parent 74e3896ae4
commit 70c0175a8b
6 changed files with 36 additions and 36 deletions
+4 -4
View File
@@ -28,10 +28,10 @@ const SmoCallbacks* smoHooksPtr = nullptr;
static SmoThreadingModelDesc smoThreadingModelDesc;
// Local collection of stimulus producers
static std::vector<std::shared_ptr<StimulusBuffer>> attachedDataProducers;
static std::vector<std::shared_ptr<StimulusProducer>> attachedDataProducers;
// Get stimulus producer by device attachment spec
static std::shared_ptr<StimulusBuffer>
static std::shared_ptr<StimulusProducer>
getDataProducer(const std::shared_ptr<smo::device::DeviceAttachmentSpec>& spec)
{
for (const auto& dataProducer : attachedDataProducers)
@@ -194,8 +194,8 @@ public:
}
// Create and add PcloudDataProducer to collection now that device is ready
StimulusBuffer::PcloudFormatDesc formatDesc;
formatDesc.format = StimulusBuffer::PcloudFormatDesc::Format::XYZI;
StimulusProducer::PcloudFormatDesc formatDesc;
formatDesc.format = StimulusProducer::PcloudFormatDesc::Format::XYZI;
auto pcloudDataProducer = std::make_shared<PcloudDataProducer>(
context->spec, context->deviceTmp, formatDesc, histbuffMs, 30);