Chi-Tech
SystemWideEventPublisher.cc
Go to the documentation of this file.
1
#include "
SystemWideEventPublisher.h
"
2
3
namespace
chi
4
{
5
6
SystemWideEventPublisher::SystemWideEventPublisher
()
7
:
chi
::
EventPublisher
(
"SystemWide"
)
8
{
9
}
10
11
SystemWideEventPublisher
&
SystemWideEventPublisher::GetInstance
()
12
{
13
static
SystemWideEventPublisher
instance;
14
15
return
instance;
16
}
17
18
void
SystemWideEventPublisher::PublishEvent
(
const
chi::Event
& event)
19
{
20
EventPublisher::PublishEvent
(event);
21
}
22
23
}
// namespace chi
SystemWideEventPublisher.h
chi::Event
Definition:
Event.h:12
chi::EventPublisher
Definition:
EventPublisher.h:19
chi::EventPublisher::PublishEvent
virtual void PublishEvent(const chi::Event &event)
Definition:
EventPublisher.cc:18
chi::SystemWideEventPublisher
Definition:
SystemWideEventPublisher.h:10
chi::SystemWideEventPublisher::GetInstance
static SystemWideEventPublisher & GetInstance()
Definition:
SystemWideEventPublisher.cc:11
chi::SystemWideEventPublisher::PublishEvent
void PublishEvent(const chi::Event &event) override
Definition:
SystemWideEventPublisher.cc:18
chi::SystemWideEventPublisher::SystemWideEventPublisher
SystemWideEventPublisher()
Definition:
SystemWideEventPublisher.cc:6
chi
Definition:
chi_runtime.h:53
framework
event_system
SystemWideEventPublisher.cc
Generated by
1.9.3