Image Component Library (ICL)
Public Member Functions | Private Attributes | List of all members
icl::io::pylon::AcquisitionInterruptor Struct Reference

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

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

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

◆ AcquisitionInterruptor()

ICLIO_API icl::io::pylon::AcquisitionInterruptor::AcquisitionInterruptor ( Interruptable i,
bool  mock = false 
)

stops the acquisiton

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

◆ ~AcquisitionInterruptor()

ICLIO_API icl::io::pylon::AcquisitionInterruptor::~AcquisitionInterruptor ( )

Starts acquisition if stopped before.

Member Data Documentation

◆ m_Interu

Interruptable* icl::io::pylon::AcquisitionInterruptor::m_Interu
private

A pointer to the PylonGrabberImpl that is to be stopped.


The documentation for this struct was generated from the following file: