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 common result class usable as return value throughout.
The class IEventSink provides a generic event listener interface for Internal Events.
~IEventSink()=default
Protected destructor --> Use implemented Destroy() instead of delete!
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 --> Use implemented Destroy() instead of delete!
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 entire ADTF SDK.