Image Component Library (ICL)
|
Utility Structure. More...
#include <PylonUtils.h>
Public Member Functions | |
ICLIO_API | AcquisitionInterruptor (Interruptable *i, bool mock=false) |
stops the acquisiton More... | |
ICLIO_API | ~AcquisitionInterruptor () |
Starts acquisition if stopped before. More... | |
Private Attributes | |
Interruptable * | m_Interu |
A pointer to the PylonGrabberImpl that is to be stopped. More... | |
Utility Structure.
This struct is used to stop the acquisition and restart it on destruction. It also locks the mutex lock so this can't be created twice at the same time.
ICLIO_API icl::io::pylon::AcquisitionInterruptor::AcquisitionInterruptor | ( | Interruptable * | i, |
bool | mock = false |
||
) |
stops the acquisiton
i | The Interruptable to stop. |
mock | Whether to mock the stopping. This can be used to create 'shallow' AcquisitionInterruptors on conditions. |
ICLIO_API icl::io::pylon::AcquisitionInterruptor::~AcquisitionInterruptor | ( | ) |
Starts acquisition if stopped before.
|
private |
A pointer to the PylonGrabberImpl that is to be stopped.