8#ifndef _ADTF_UCOM_ANT_EVENT_SINK_EVENT_SOURCE_INTERFACE_INCLUDES_HEADER_
9#define _ADTF_UCOM_ANT_EVENT_SINK_EVENT_SOURCE_INTERFACE_INCLUDES_HEADER_
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
The class IEventSink provides a generic event listener interface for Internal Events.
~IEventSink()=default
Protected destructor --> Only the final implementation can be destroyed!
ADTF_IID(IEventSink, "event_sink.ant.ucom.adtf.iid")
Marks the IEventSink to be castable with the ucom_cast<>
virtual tResult HandleEvent(const IEventSource &oSource, const void *pvEventData)=0
Handle event.
The class IEventSource provides a generic event provider interface.
virtual tResult RegisterEventSink(IEventSink &oEventSink)=0
Register event sink.
~IEventSource()=default
Protected destructor --> Only the final implementation can be destroyed!
ADTF_IID(IEventSource, "event_source.ant.ucom.adtf.iid")
Marks the IEventSource to be castable with the ucom_cast<>
virtual tResult UnregisterEventSink(IEventSink &oEventSink)=0
Unregister event sink.
Base class for every interface type within the uCOM.
Namespace for all functionality provided since v3.0.
Namespace for the ADTF uCOM3 SDK.
Namespace for entire ADTF SDK.