ADTF
Loading...
Searching...
No Matches
event_source_intf.h
Go to the documentation of this file.
1
7
8
#ifndef _ADTF_UCOM_ANT_EVENT_SINK_EVENT_SOURCE_INTERFACE_INCLUDES_HEADER_
9
#define _ADTF_UCOM_ANT_EVENT_SINK_EVENT_SOURCE_INTERFACE_INCLUDES_HEADER_
10
11
namespace
adtf
12
{
13
namespace
ucom
14
{
15
namespace
ant
16
{
17
18
class
IEventSource
;
19
26
class
DOEXPORT
IEventSink
27
{
28
public
:
33
ADTF_IID
(
IEventSink
,
"event_sink.ant.ucom.adtf.iid"
);
34
35
public
:
55
virtual
tResult
HandleEvent
(
const
IEventSource
& oSource,
const
void
* pvEventData) = 0;
56
57
protected
:
59
~IEventSink
() =
default
;
60
};
61
71
class
DOEXPORT
IEventSource
:
public
IObject
72
{
73
public
:
78
ADTF_IID
(
IEventSource
,
"event_source.ant.ucom.adtf.iid"
);
79
80
public
:
90
virtual
tResult
RegisterEventSink
(
IEventSink
& oEventSink) = 0;
91
101
virtual
tResult
UnregisterEventSink
(
IEventSink
& oEventSink) = 0;
102
103
protected
:
105
~IEventSource
() =
default
;
106
};
107
108
}
//namespace ant
109
111
using
ant::IEventSink
;
112
114
using
ant::IEventSource
;
115
116
}
//namespace ucom
117
}
//namespace adtf
118
119
#endif
//_ADTF_UCOM_ANT_EVENT_SINK_EVENT_SOURCE_INTERFACE_INCLUDES_HEADER_
tResult
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition
result.h:736
adtf::ucom::ant::IEventSink
Definition
event_source_intf.h:27
adtf::ucom::ant::IEventSink::~IEventSink
~IEventSink()=default
Protected destructor --> Only the final implementation can be destroyed!
adtf::ucom::ant::IEventSink::HandleEvent
virtual tResult HandleEvent(const IEventSource &oSource, const void *pvEventData)=0
adtf::ucom::ant::IEventSink::ADTF_IID
ADTF_IID(IEventSink, "event_sink.ant.ucom.adtf.iid")
adtf::ucom::ant::IEventSource
Definition
event_source_intf.h:72
adtf::ucom::ant::IEventSource::UnregisterEventSink
virtual tResult UnregisterEventSink(IEventSink &oEventSink)=0
adtf::ucom::ant::IEventSource::~IEventSource
~IEventSource()=default
Protected destructor --> Only the final implementation can be destroyed!
adtf::ucom::ant::IEventSource::ADTF_IID
ADTF_IID(IEventSource, "event_source.ant.ucom.adtf.iid")
adtf::ucom::ant::IEventSource::RegisterEventSink
virtual tResult RegisterEventSink(IEventSink &oEventSink)=0
adtf::ucom::ant::IObject
Definition
object_intf.h:33
adtf::ucom::ant
Namespace for all functionality of the ADTF UCOM SDK provided since v3.0.
Definition
test_runtime.h:14
adtf::ucom
Namespace for the ADTF uCOM SDK.
Definition
adtf_system.h:324
adtf
Namespace for all functionality provided by ADTF and its SDKs.
Definition
adtf_client_connector.h:14
src
libraries
ucom3
include
adtfucom3
interfaces
event_source_intf.h
Copyright © CARIAD SE. All rights reserved | Generated on Thu Aug 6 2026 by doxygen 1.13.2 | GIT Commit Hash: 07d2f84367192978b2a55ca6aee7f968758b7220