Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
icl::io::pylon::AcquisitionInterruptor Struct Reference

Utility Structure. More...

#include <PylonUtils.h>

List of all members.

Public Member Functions

ICLIO_API AcquisitionInterruptor (Interruptable *i, bool mock=false)
 stops the acquisiton
ICLIO_API ~AcquisitionInterruptor ()
 Starts acquisition if stopped before.

Private Attributes

Interruptablem_Interu
 A pointer to the PylonGrabberImpl that is to be stopped.

Detailed Description

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.


Constructor & Destructor Documentation

stops the acquisiton

Parameters:
iThe Interruptable to stop.
mockWhether to mock the stopping. This can be used to create 'shallow' AcquisitionInterruptors on conditions.

Starts acquisition if stopped before.


Member Data Documentation

A pointer to the PylonGrabberImpl that is to be stopped.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines