ADTF
Loading...
Searching...
No Matches
event_source.h
Go to the documentation of this file.
1
7
8
#ifndef _UCOM_EVENTSOURCE_CLASS_HEADER_
9
#define _UCOM_EVENTSOURCE_CLASS_HEADER_
10
11
namespace
adtf
12
{
13
14
namespace
ucom
15
{
16
17
namespace
ant
18
{
19
30
class
DOEXPORT cEventSource :
public
catwo::object
<IEventSource>
31
{
32
private
:
33
std::vector<IEventSink*> m_oEventSinks;
34
35
public
:
36
cEventSource() =
default
;
37
virtual
~cEventSource() =
default
;
38
49
tResult
FireEvent
(
const
void
* pvEventData)
const
;
50
51
public
:
// implement IEventSource
52
tResult
RegisterEventSink(
IEventSink
& oEventSink);
53
tResult
UnregisterEventSink(
IEventSink
& oEventSink);
54
};
55
56
}
57
58
using
ant::cEventSource
;
59
60
}
61
62
}
63
64
#endif
// _UCOM_EVENTSOURCE_CLASS_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::cEventSource
Definition
event_source.h:31
adtf::ucom::ant::cEventSource::FireEvent
tResult FireEvent(const void *pvEventData) const
adtf::ucom::catwo::object
Definition
object.h:397
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
event_source.h
Copyright © CARIAD SE. All rights reserved | Generated on Thu Aug 6 2026 by doxygen 1.13.2 | GIT Commit Hash: 07d2f84367192978b2a55ca6aee7f968758b7220