Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvCameraBridgeEventSink Class Reference

Observer interface for an observable PvCameraBridge object. More...

Public Member Functions

 PvCameraBridgeEventSink ()
 PvCameraBridgeEventSink event sink constructor.
 
virtual ~PvCameraBridgeEventSink ()
 PvCameraBridgeEventSink event sink destructor.
 
virtual PvResult OnSetParameter (const PvString &aName, const PvString &aValue)
 Called when a Pleora Camera File Application.aName: aValue operation is executed. More...
 
virtual void OnError (const PvString &aMessage)
 Called when a bridge created from a Pleora Camera File encounters an error reading or writing a parameter. More...
 

Detailed Description

Observer interface for an observable PvCameraBridge object.

PvCameraBridgeEventSink defines a set of callback methods from a PvCameraBridge object to any object implementing this interface.

To receive PvCameraBridge notifications:

  1. Create an instance of your MySink class.
  2. Register your MySink class with the PvCameraBridge object. Use PvCameraBridge::RegisterEventSink.
  3. Handle events when PvCameraBridge calls your overridden methods.

Member Function Documentation

◆ OnError()

void PvCameraBridgeEventSink::OnError ( const PvString aMessage)
virtual

Called when a bridge created from a Pleora Camera File encounters an error reading or writing a parameter.

Parameters
[in]aMessageThe error message.

◆ OnSetParameter()

PvResult PvCameraBridgeEventSink::OnSetParameter ( const PvString aName,
const PvString aValue 
)
virtual

Called when a Pleora Camera File Application.aName: aValue operation is executed.

Parameters
[in]aNameName of the application-specific parameter to set.
[in]aValueValue of the application-specific to set.
Returns
Includes:

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

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com