34#include <peak/data_stream/peak_data_stream.hpp>
35#include <peak/device/peak_device.hpp>
36#include <peak/device/peak_device_descriptor.hpp>
37#include <peak/node_map/peak_node_map.hpp>
57 explicit Camera(
const std::shared_ptr<peak::core::DeviceDescriptor>& deviceDescriptor);
61 std::shared_ptr<NodeListModel>
nodeList();
66 void loadUserSet(
const std::string& userSet =
"Default");
75 QImage image,
unsigned int iterator,
unsigned long long timestamp,
unsigned long long timestampDelta);
AcquisitionType
Definition camera.h:46
@ ContinousPwmTrigger
Definition camera.h:49
@ Freerun
Definition camera.h:47
@ CountedBurstTrigger
Definition camera.h:50
@ SoftwareTrigger
Definition camera.h:48
Definition acquisitionworker.h:41
std::shared_ptr< peak::core::nodes::EnumerationNode > m_triggerSelectorNode
Definition camera.h:97
std::shared_ptr< NodeListModel > nodeList()
Definition camera.cpp:127
void imageReceived(QImage image, unsigned int iterator, unsigned long long timestamp, unsigned long long timestampDelta)
bool m_acquisitionStarted
Definition camera.h:96
AcquisitionWorker * m_acquisitionWorker
Definition camera.h:90
void updateNodeList()
Definition camera.cpp:464
void close()
Definition camera.cpp:83
bool stopAcquisition()
Definition camera.cpp:336
std::shared_ptr< peak::core::DataStream > m_dataStream
Definition camera.h:86
int m_bufferCountMinSequencer
Definition camera.h:95
void enableSequencerConfiguration(bool mode)
Definition camera.cpp:402
std::shared_ptr< peak::core::nodes::CommandNode > m_triggerNode
Definition camera.h:99
std::shared_ptr< NodeListModel > m_nodeList
Definition camera.h:88
std::shared_ptr< peak::core::Device > m_device
Definition camera.h:85
void softwareTrigger()
Definition camera.cpp:457
void setBufferCountMinSequencer(int bufferCountMinSequencer)
Definition camera.cpp:137
std::shared_ptr< peak::core::NodeMap > nodeMapRemoteDevice() const
Definition camera.cpp:132
void loadUserSet(const std::string &userSet="Default")
Definition camera.cpp:144
std::shared_ptr< peak::core::NodeMap > m_nodeMapRemoteDevice
Definition camera.h:87
void enableSequencer(bool mode)
Definition camera.cpp:427
void prepareAcquisition(AcquisitionType type=AcquisitionType::Freerun, int param=0)
Definition camera.cpp:160
std::string key()
Definition camera.cpp:119
std::string m_triggerSelectorEntry
Definition camera.h:98
Camera(const std::shared_ptr< peak::core::DeviceDescriptor > &deviceDescriptor)
Definition camera.cpp:33
void onCounterReceived(unsigned int, unsigned int)
Definition camera.cpp:452
QThread m_acquisitionThread
Definition camera.h:91
bool startAcquisition()
Definition camera.cpp:273
QThread m_converterThread
Definition camera.h:93
ImageConverterWorker * m_converterWorker
Definition camera.h:92
void counterReceived(const unsigned int, const unsigned int)
Definition imageconverterworker.h:37
The ImageConverter class is used in a worker thread to convert buffers received from the datastream t...
The NodeListModel is a prototype for a camera's node map that can be displayed automatically in QML.
The AcquisitionWorker class is used in a worker thread to capture images from the device continuously...