Spinnaker C++
2.6.0.0
Public Member Functions | Protected Member Functions | List of all members
ImageEventHandler Class Referenceabstract

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

Inheritance diagram for ImageEventHandler:
IImageEventHandler EventHandler ImageEventHandlerImpl ImageEventHandlerImpl

Public Member Functions

 ImageEventHandler ()
 Default Constructor. More...
 
virtual ~ImageEventHandler ()
 Virtual Destructor. More...
 
virtual void OnImageEvent (ImagePtr image)=0
 Image event callback. More...
 
- Public Member Functions inherited from IImageEventHandler
virtual ~IImageEventHandler ()
 
- Public Member Functions inherited from EventHandler
virtual ~EventHandler ()
 Virtual Destructor. More...
 
void SetEventType (EventType eventType)
 Sets the event type. More...
 
EventType GetEventType ()
 Gets the event type. More...
 
const uint8_t * GetEventPayloadData ()
 Gets the event payload data. More...
 
const size_t GetEventPayloadDataSize ()
 Gets the event payload data size. More...
 

Protected Member Functions

ImageEventHandleroperator= (const ImageEventHandler &)
 Assignment operator. More...
 
- Protected Member Functions inherited from IImageEventHandler
 IImageEventHandler ()
 
 IImageEventHandler (const IImageEventHandler &)
 
IImageEventHandleroperator= (const IImageEventHandler &)
 
- 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, and ImageEvents.cpp.

Constructor & Destructor Documentation

Default Constructor.

virtual ~ImageEventHandler ( )
virtual

Virtual Destructor.

Member Function Documentation

virtual void OnImageEvent ( ImagePtr  image)
pure virtual

Image event callback.

Parameters
imageThe ImagePtr object

Implements IImageEventHandler.

Implemented in ImageEventHandlerImpl, and ImageEventHandlerImpl.

ImageEventHandler& operator= ( const ImageEventHandler )
protected

Assignment operator.


The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference