![]() |
Image Component Library (ICL)
|
Utility Structure. More...
#include <PylonUtils.h>
Public Member Functions | |
| ICLIO_API | GrabbingInterruptor (Interruptable *i, bool mock=false) |
| Constructor calls grabbingStop(). More... | |
| ICLIO_API | ~GrabbingInterruptor () |
| Destructor calls grabbingStart(). More... | |
Private Attributes | |
| Interruptable * | m_Interu |
| A pointer to the Interruptable that needs to be stopped. More... | |
Utility Structure.
This struct is used to stop grabbing and restart it on destruction. This should not be created while image acquisition is still active.
| ICLIO_API icl::io::pylon::GrabbingInterruptor::GrabbingInterruptor | ( | Interruptable * | i, |
| bool | mock = false |
||
| ) |
Constructor calls grabbingStop().
| i | The Interruptable to stop. |
| mock | Whether to mock the stopping. This can be used to create 'shallow' GrabbingInterruptors on conditions. |
| ICLIO_API icl::io::pylon::GrabbingInterruptor::~GrabbingInterruptor | ( | ) |
Destructor calls grabbingStart().
|
private |
A pointer to the Interruptable that needs to be stopped.
1.8.15