ICLIO_API PylonGrabberThread(Pylon::IStreamGrabber *grabber, PylonColorConverter *converter, PylonCameraOptions *options)
Constructor sets all internal fields and allocates memory.
undocument this line if you encounter any issues!
Definition: Any.h:37
Simple object oriented thread class wrapping the pthread library.
Definition: Thread.h:90
ICLIO_API void run()
acquires images and writes them into an internal queue
int m_Timeout
A counter for acquisition timeouts.
Definition: PylonGrabberThread.h:82
This is the color-conversion-class for Pylon images.
Definition: PylonColorConverter.h:58
PylonColorConverter * m_Converter
A pointer to the ColorConverter.
Definition: PylonGrabberThread.h:74
ConcGrabberBuffer m_Buffers
A buffer holding read and write buffers.
Definition: PylonGrabberThread.h:78
ICLIO_API core::ImgBase * getCurrentImage()
getter for the most current image
ICLIO_API ~PylonGrabberThread()
Destructor frees all allocated memory.
#define ICLIO_API
Definition: CompatMacros.h:176
int m_Acquired
A counter for correct acquisitions.
Definition: PylonGrabberThread.h:84
PylonCameraOptions * m_Options
A pointer to the CameraOptions.
Definition: PylonGrabberThread.h:76
Pylon::IStreamGrabber * m_Grabber
A pointer to the image-providing StreamGrabber.
Definition: PylonGrabberThread.h:72
int m_Error
A counter for acquisition errors.
Definition: PylonGrabberThread.h:80
This is used for concurrent writing and reading of ConvBuffers.
Definition: PylonUtils.h:137
ICLIO_API void resetBuffer()
reinitializes buffer
Internally spawned thread class for continuous grabbing.
Definition: PylonGrabberThread.h:46
This is a helper class for Pylon camera settings.
Definition: PylonCameraOptions.h:44
void grab()
grabs a single image into m_BufferQueue.
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131