Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches

A handler for capturing image arrival events. More...

#include <ImageEventHandler.h>

Inheritance diagram for ImageEventHandler:
IImageEventHandler EventHandler ImageEventHandlerImpl

Public Member Functions

 ImageEventHandler ()
 Default image handler constructor.
 
virtual ~ImageEventHandler ()
 Virtual Destructor.
 
- Public Member Functions inherited from IImageEventHandler
virtual ~IImageEventHandler ()
 
- Public Member Functions inherited from EventHandler
virtual ~EventHandler ()
 Virtual Destructor.
 
void SetEventType (EventType eventType)
 Sets the event type.
 
EventType GetEventType ()
 Gets the event type.
 
const uint8_t * GetEventPayloadData ()
 Gets the event payload data.
 
const size_t GetEventPayloadDataSize ()
 Gets the event payload data size.
 

Protected Member Functions

ImageEventHandleroperator= (const ImageEventHandler &)
 Assignment operator.
 
virtual void OnImageEvent (ImagePtr image)=0
 Image event callback.
 
- Protected Member Functions inherited from IImageEventHandler
 IImageEventHandler ()
 
 IImageEventHandler (const IImageEventHandler &)
 
IImageEventHandleroperator= (const IImageEventHandler &)
 
virtual void OnImageEvent (ImagePtr image)=0
 
- Protected Member Functions inherited from EventHandler
 EventHandler ()
 
EventHandleroperator= (const EventHandler &)
 
void SetEventPayload (uint8_t *offset, size_t length)
 

Additional Inherited Members

- Protected Attributes inherited from EventHandler
EventData * m_pEventData
 

Detailed Description

A handler for capturing image arrival events.

Examples
AcquisitionMultipleCameraRecovery.cpp.

Constructor & Destructor Documentation

◆ ImageEventHandler()

Default image handler constructor.

◆ ~ImageEventHandler()

virtual ~ImageEventHandler ( )
virtual

Virtual Destructor.

Member Function Documentation

◆ OnImageEvent()

virtual void OnImageEvent ( ImagePtr  image)
protectedpure virtual

Image event callback.

Parameters
imageThe ImagePtr object

Implements IImageEventHandler.

Implemented in ImageEventHandlerImpl, and ImageEventHandlerImpl.

◆ operator=()

ImageEventHandler & operator= ( const ImageEventHandler )
protected

Assignment operator.


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