27#ifndef ACQUISITIONWORKER_H
28#define ACQUISITIONWORKER_H
30#include <peak/data_stream/peak_data_stream.hpp>
70Q_DECLARE_METATYPE(std::shared_ptr<peak::core::Buffer>)
Definition acquisitionworker.h:41
WorkerState currentState()
Definition acquisitionworker.cpp:37
void Resume()
Definition acquisitionworker.cpp:96
unsigned int m_frameCounter
Definition acquisitionworker.h:62
AcquisitionWorker()=default
std::shared_ptr< peak::core::DataStream > m_dataStream
Definition acquisitionworker.h:56
void counterChanged(const unsigned int, const unsigned int)
void SetDataStream(std::shared_ptr< peak::core::DataStream >)
void bufferReceived(std::shared_ptr< peak::core::Buffer > buffer)
unsigned int m_errorCounter
Definition acquisitionworker.h:63
WorkerState
Definition acquisitionworker.h:48
@ IDLE
Definition acquisitionworker.h:49
@ PAUSED
Definition acquisitionworker.h:51
@ RUNNING
Definition acquisitionworker.h:50
WorkerState m_state
Definition acquisitionworker.h:62
void Pause()
Definition acquisitionworker.cpp:91
~AcquisitionWorker() override=default