ImageRegionObservableInterface Class Reference

#include <imageregionobserver.h>

Inheritance diagram for ImageRegionObservableInterface:

Public Member Functions

MAXON_METHOD Result< GenericDataRegisterObserver (const Id &observerId, const ImageRegionObserverRef &observer)
 
MAXON_METHOD Bool Check (const GenericData &handler) const
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (ImageRegionObservableInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.imageregionobservable", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( ImageRegionObservableInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.imageregionobservable"  ,
MAXON_IMPLEMENTATION_MODULE("net.maxon.image")   
)
private

◆ RegisterObserver()

MAXON_METHOD Result<GenericData> RegisterObserver ( const Id observerId,
const ImageRegionObserverRef &  observer 
)

Registers an observer for regional image changes.

Parameters
[in]observerIdThe identifier of the observer. Does not have to be unique.
[in]observerThe observer to register.
Returns
The registration ticket on success. Releasing the return value results in de-registration of the observer.

◆ Check()

MAXON_METHOD Bool Check ( const GenericData handler) const

Checks if the handler is a handler for this ovserver.

Parameters
[in]handlerHandler zo check,
Returns
True, if the handler was registered for this observer.