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
11namespace adtf
12{
13
14namespace ucom
15{
16
17namespace ant
18{
19
30class 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
59
60}
61
62}
63
64#endif // _UCOM_EVENTSOURCE_CLASS_HEADER_
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition event_source_intf.h:27
Definition event_source.h:31
tResult FireEvent(const void *pvEventData) const
Definition object.h:397
Namespace for all functionality of the ADTF UCOM SDK provided since v3.0.
Definition test_runtime.h:14
Namespace for the ADTF uCOM SDK.
Definition adtf_system.h:324
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14