2025-11-14 23:19:32 -04:00
|
|
|
#ifndef _LIVOX_GEN1_PCLOUD_I_STIMULUS_BUFFER_H
|
|
|
|
|
#define _LIVOX_GEN1_PCLOUD_I_STIMULUS_BUFFER_H
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
#include <user/stimulusBuffer.h>
|
|
|
|
|
|
|
|
|
|
namespace smo {
|
|
|
|
|
namespace stim_buff {
|
|
|
|
|
|
|
|
|
|
// Forward declaration
|
|
|
|
|
class StimulusProducer;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* PcloudIStimulusBuffer is a specialized StimulusBuffer for intensity point cloud data.
|
|
|
|
|
*/
|
|
|
|
|
class PcloudIStimulusBuffer
|
|
|
|
|
: public StimulusBuffer
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit PcloudIStimulusBuffer(
|
2025-11-15 01:15:57 -04:00
|
|
|
StimulusProducer& parent,
|
2025-11-14 23:19:32 -04:00
|
|
|
const std::shared_ptr<device::DeviceAttachmentSpec>& deviceAttachmentSpec,
|
|
|
|
|
int histbuffMs,
|
|
|
|
|
const SpMcRingBuffer::InputEngineConstraints& ringBufferConstraints)
|
|
|
|
|
: StimulusBuffer(
|
2025-11-15 01:15:57 -04:00
|
|
|
parent, deviceAttachmentSpec, histbuffMs, ringBufferConstraints)
|
2025-11-14 23:19:32 -04:00
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
~PcloudIStimulusBuffer() = default;
|
|
|
|
|
|
|
|
|
|
// Non-copyable, movable
|
|
|
|
|
PcloudIStimulusBuffer(const PcloudIStimulusBuffer&) = delete;
|
|
|
|
|
PcloudIStimulusBuffer& operator=(const PcloudIStimulusBuffer&) = delete;
|
|
|
|
|
PcloudIStimulusBuffer(PcloudIStimulusBuffer&&) = default;
|
|
|
|
|
PcloudIStimulusBuffer& operator=(PcloudIStimulusBuffer&&) = default;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace stim_buff
|
|
|
|
|
} // namespace smo
|
|
|
|
|
|
|
|
|
|
#endif // _LIVOX_GEN1_PCLOUD_I_STIMULUS_BUFFER_H
|