The configuration event handler base class. More...
#include <pylon/usb/BaslerUsbConfigurationEventHandler.h>
Public Member Functions | |
virtual void | OnAttach (CBaslerUsbInstantCamera &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 (CBaslerUsbInstantCamera &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 (CBaslerUsbInstantCamera &camera) |
This method is called before the attached Pylon Device is detached from the Instant Camera object. More... | |
virtual void | OnDetached (CBaslerUsbInstantCamera &camera) |
This method is called after the attached Pylon Device has been detached from the Instant Camera object. More... | |
virtual void | OnDestroy (CBaslerUsbInstantCamera &camera) |
This method is called before the attached Pylon Device is destroyed. More... | |
virtual void | OnDestroyed (CBaslerUsbInstantCamera &camera) |
This method is called after the attached Pylon Device has been destroyed. More... | |
virtual void | OnOpen (CBaslerUsbInstantCamera &camera) |
This method is called before the attached Pylon Device is opened. More... | |
virtual void | OnOpened (CBaslerUsbInstantCamera &camera) |
This method is called after the attached Pylon Device has been opened. More... | |
virtual void | OnClose (CBaslerUsbInstantCamera &camera) |
This method is called before the attached Pylon Device is closed. More... | |
virtual void | OnClosed (CBaslerUsbInstantCamera &camera) |
This method is called after the attached Pylon Device has been closed. More... | |
virtual void | OnGrabStart (CBaslerUsbInstantCamera &camera) |
This method is called before a grab session is started. More... | |
virtual void | OnGrabStarted (CBaslerUsbInstantCamera &camera) |
This method is called after a grab session has been started. More... | |
virtual void | OnGrabStop (CBaslerUsbInstantCamera &camera) |
This method is called before a grab session is stopped. More... | |
virtual void | OnGrabStopped (CBaslerUsbInstantCamera &camera) |
This method is called after a grab session has been stopped. More... | |
virtual void | OnGrabError (CBaslerUsbInstantCamera &camera, const char *errorMessage) |
This method is called when an exception has been triggered during grabbing. More... | |
virtual void | OnCameraDeviceRemoved (CBaslerUsbInstantCamera &camera) |
This method is called when a camera device removal from the PC has been detected. More... | |
virtual void | OnConfigurationRegistered (CBaslerUsbInstantCamera &camera) |
This method is called when the configuration event handler has been registered. More... | |
virtual void | OnConfigurationDeregistered (CBaslerUsbInstantCamera &camera) |
This method is called when the configuration event handler has been deregistered. More... | |
virtual void | DestroyConfiguration () |
Destroys the configuration event handler. More... | |
CBaslerUsbConfigurationEventHandler () | |
Create. | |
CBaslerUsbConfigurationEventHandler (const CBaslerUsbConfigurationEventHandler &) | |
Copy. | |
CBaslerUsbConfigurationEventHandler & | operator= (const CBaslerUsbConfigurationEventHandler &) |
Assign. | |
virtual | ~CBaslerUsbConfigurationEventHandler () |
Destruct. | |
The configuration event handler base class.
|
inlinevirtual |
Destroys the configuration event handler.
|
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.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called after the attached Pylon Device has been closed.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called when the configuration event handler has been registered.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called after the attached Pylon Device has been destroyed.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called after the attached Pylon Device has been detached from the Instant Camera object.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
[in] | errorMessage | The message of the exception that signaled an error during grabbing. |
|
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.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called after a grab session has been started.
[in] | camera | The source of the call. |
|
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.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called after a grab session has been stopped.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called before the attached Pylon Device is opened.
[in] | camera | The source of the call. |
|
inlinevirtual |
This method is called after the attached Pylon Device has been opened.
[in] | camera | The source of the call. |