![]() |
![]() |
The camera event handler base class. More...
#include <pylon/BaslerUniversalCameraEventHandler.h>
Public Member Functions | |
virtual void | OnCameraEvent (CBaslerUniversalInstantCamera &camera, intptr_t userProvidedId, GenApi::INode *pNode) |
This method is called when a camera event has been received. More... | |
virtual void | OnCameraEventHandlerRegistered (CBaslerUniversalInstantCamera &camera, const String_t &nodeName, intptr_t userProvidedId) |
This method is called when the camera event handler has been registered. More... | |
virtual void | OnCameraEventHandlerDeregistered (CBaslerUniversalInstantCamera &camera, const String_t &nodeName, intptr_t userProvidedId) |
This method is called when the camera event handler has been deregistered. More... | |
virtual void | DestroyCameraEventHandler () |
Destroys the camera event handler. More... | |
CBaslerUniversalCameraEventHandler () | |
Create. | |
CBaslerUniversalCameraEventHandler (const CBaslerUniversalCameraEventHandler &) | |
Copy. | |
CBaslerUniversalCameraEventHandler & | operator= (const CBaslerUniversalCameraEventHandler &) |
Assign. | |
virtual | ~CBaslerUniversalCameraEventHandler () |
Destruct. | |
The camera event handler base class.
|
inlinevirtual |
Destroys the camera event handler.
|
inlinevirtual |
This method is called when a camera event has been received.
Only very short processing tasks should be performed by this method. Otherwise, the event notification will block the processing of images.
[in] | camera | The source of the call. |
[in] | userProvidedId | The ID passed when registering for the event. It can be used to distinguish between different events. |
[in] | pNode | The node identified by node name when registering. |
|
inlinevirtual |
This method is called when the camera event handler has been deregistered.
The camera event handler is automatically deregistered when the Instant Camera object is destroyed.
[in] | camera | The source of the call. |
[in] | nodeName | The name of the event data node updated on camera event, e.g. "ExposureEndEventTimestamp" for exposure end event. |
[in] | userProvidedId | This ID is passed as a parameter in CBaslerUniversalCameraEventHandler::OnCameraEvent and can be used to distinguish between different events. |
|
inlinevirtual |
This method is called when the camera event handler has been registered.
[in] | camera | The source of the call. |
[in] | nodeName | The name of the event data node updated on camera event, e.g. "ExposureEndEventTimestamp" for exposure end event. |
[in] | userProvidedId | This ID is passed as a parameter in CBaslerUniversalCameraEventHandler::OnCameraEvent and can be used to distinguish between different events. |