All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Pylon::CBaslerGigEConfigurationEventHandler Class Reference

The configuration event handler base class. More...

#include <pylon/gige/BaslerGigEConfigurationEventHandler.h>

Public Member Functions

virtual void OnAttach (CBaslerGigEInstantCamera &camera)
 This method is called before a Pylon Device (Pylon::IPylonDevice) is attached by calling the Instant Camera object's Attach() method. More...
 
virtual void OnAttached (CBaslerGigEInstantCamera &camera)
 This method is called after a Pylon Device (Pylon::IPylonDevice) has been attached by calling the Instant Camera object's Attach() method. More...
 
virtual void OnDetach (CBaslerGigEInstantCamera &camera)
 This method is called before the attached Pylon Device is detached from the Instant Camera object. More...
 
virtual void OnDetached (CBaslerGigEInstantCamera &camera)
 This method is called after the attached Pylon Device has been detached from the Instant Camera object. More...
 
virtual void OnDestroy (CBaslerGigEInstantCamera &camera)
 This method is called before the attached Pylon Device is destroyed. More...
 
virtual void OnDestroyed (CBaslerGigEInstantCamera &camera)
 This method is called after the attached Pylon Device has been destroyed. More...
 
virtual void OnOpen (CBaslerGigEInstantCamera &camera)
 This method is called before the attached Pylon Device is opened. More...
 
virtual void OnOpened (CBaslerGigEInstantCamera &camera)
 This method is called after the attached Pylon Device has been opened. More...
 
virtual void OnClose (CBaslerGigEInstantCamera &camera)
 This method is called before the attached Pylon Device is closed. More...
 
virtual void OnClosed (CBaslerGigEInstantCamera &camera)
 This method is called after the attached Pylon Device has been closed. More...
 
virtual void OnGrabStart (CBaslerGigEInstantCamera &camera)
 This method is called before a grab session is started. More...
 
virtual void OnGrabStarted (CBaslerGigEInstantCamera &camera)
 This method is called after a grab session has been started. More...
 
virtual void OnGrabStop (CBaslerGigEInstantCamera &camera)
 This method is called before a grab session is stopped. More...
 
virtual void OnGrabStopped (CBaslerGigEInstantCamera &camera)
 This method is called after a grab session has been stopped. More...
 
virtual void OnGrabError (CBaslerGigEInstantCamera &camera, const char *errorMessage)
 This method is called when an exception has been triggered during grabbing. More...
 
virtual void OnCameraDeviceRemoved (CBaslerGigEInstantCamera &camera)
 This method is called when a camera device removal from the PC has been detected. More...
 
virtual void OnConfigurationRegistered (CBaslerGigEInstantCamera &camera)
 This method is called when the configuration event handler has been registered. More...
 
virtual void OnConfigurationDeregistered (CBaslerGigEInstantCamera &camera)
 This method is called when the configuration event handler has been deregistered. More...
 
virtual void DestroyConfiguration ()
 Destroys the configuration event handler. More...
 
 CBaslerGigEConfigurationEventHandler ()
 Create.
 
 CBaslerGigEConfigurationEventHandler (const CBaslerGigEConfigurationEventHandler &)
 Copy.
 
CBaslerGigEConfigurationEventHandleroperator= (const CBaslerGigEConfigurationEventHandler &)
 Assign.
 
virtual ~CBaslerGigEConfigurationEventHandler ()
 Destruct.
 

Detailed Description

The configuration event handler base class.

Member Function Documentation

virtual void Pylon::CBaslerGigEConfigurationEventHandler::DestroyConfiguration ( )
inlinevirtual

Destroys the configuration event handler.

Error Safety:
C++ exceptions from this call will be caught and ignored.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnAttach ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called before a Pylon Device (Pylon::IPylonDevice) is attached by calling the Instant Camera object's Attach() method.

This method can not be used for detecting that a camera device has been attached to the PC. The camera's Attach() method must not be called from here or from subsequent calls to avoid infinite recursion.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnAttached ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called after a Pylon Device (Pylon::IPylonDevice) has been attached by calling the Instant Camera object's Attach() method.

This method can not be used for detecting that a camera device has been attached to the PC. The camera's Attach() method must not be called from here or from subsequent calls to avoid infinite recursion.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnCameraDeviceRemoved ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called when a camera device removal from the PC has been detected.

The Pylon Device attached to the Instant Camera is not operable after this event. After it is made sure that no access to the Pylon Device or any of its node maps is made anymore the Pylon Device should be destroyed using InstantCamera::DeviceDestroy(). The access to the Pylon Device can be protected using the lock provided by GetLock(), e.g. when accessing parameters.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object from an additional thread.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnClose ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called before the attached Pylon Device is closed.

Camera Close must not be called from here or from subsequent calls to avoid infinite recursion.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnClosed ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called after the attached Pylon Device has been closed.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnConfigurationDeregistered ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called when the configuration event handler has been deregistered.

The configuration event handler is automatically deregistered when the Instant Camera object is destroyed.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnConfigurationRegistered ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called when the configuration event handler has been registered.

Parameters
[in]cameraThe source of the call.
Error Safety:
Exceptions from this call will propagate through.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnDestroy ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called before the attached Pylon Device is destroyed.

Camera DestroyDevice must not be called from here or from subsequent calls to avoid infinite recursion.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnDestroyed ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called after the attached Pylon Device has been destroyed.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnDetach ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called before the attached Pylon Device is detached from the Instant Camera object.

The camera's Detach() method must not be called from here or from subsequent calls to avoid infinite recursion.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnDetached ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called after the attached Pylon Device has been detached from the Instant Camera object.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnGrabError ( CBaslerGigEInstantCamera camera,
const char *  errorMessage 
)
inlinevirtual

This method is called when an exception has been triggered during grabbing.

An exception has been triggered by a grab thread. The grab will be stopped after this event call.

Parameters
[in]cameraThe source of the call.
[in]errorMessageThe message of the exception that signaled an error during grabbing.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnGrabStart ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called before a grab session is started.

Camera StartGrabbing must not be called from here or from subsequent calls to avoid infinite recursion.

Parameters
[in]cameraThe source of the call.
Error Safety:
Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnGrabStarted ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called after a grab session has been started.

Parameters
[in]cameraThe source of the call.
Error Safety:
Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnGrabStop ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called before a grab session is stopped.

Camera StopGrabbing must not be called from here or from subsequent calls to avoid infinite recursion.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnGrabStopped ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called after a grab session has been stopped.

Parameters
[in]cameraThe source of the call.
Error Safety:
C++ exceptions from this call will be caught and ignored. All event handlers are notified.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnOpen ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called before the attached Pylon Device is opened.

Parameters
[in]cameraThe source of the call.
Error Safety:
Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
Thread Safety:
This method is called inside the lock of the camera object.
virtual void Pylon::CBaslerGigEConfigurationEventHandler::OnOpened ( CBaslerGigEInstantCamera camera)
inlinevirtual

This method is called after the attached Pylon Device has been opened.

Parameters
[in]cameraThe source of the call.
Error Safety:
Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
Thread Safety:
This method is called inside the lock of the camera object.

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

pylon 5.0.5
Copyright © 2006-2016 Basler AG (Thu Aug 11 2016 18:01:29)