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

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

Interruptablem_Interu
 A pointer to the Interruptable that needs to be stopped. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GrabbingInterruptor()

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

Constructor calls grabbingStop().

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

◆ ~GrabbingInterruptor()

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

Destructor calls grabbingStart().

Member Data Documentation

◆ m_Interu

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

A pointer to the Interruptable that needs to be stopped.


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