Chi-Tech
|
#include <SystemWideEventPublisher.h>
Public Member Functions | |
SystemWideEventPublisher (const SystemWideEventPublisher &)=delete | |
SystemWideEventPublisher | operator= (const SystemWideEventPublisher &)=delete |
void | PublishEvent (const chi::Event &event) override |
Public Member Functions inherited from chi::EventPublisher | |
virtual void | PublishEvent (const chi::Event &event) |
void | AddSubscriber (std::shared_ptr< chi::EventSubscriber > &subscriber_sptr) |
virtual | ~EventPublisher ()=default |
Static Public Member Functions | |
static SystemWideEventPublisher & | GetInstance () |
Private Member Functions | |
SystemWideEventPublisher () | |
Additional Inherited Members | |
Protected Member Functions inherited from chi::EventPublisher | |
EventPublisher (const std::string &name) | |
Protected Attributes inherited from chi::EventPublisher | |
const std::string | publisher_name_ |
std::vector< std::weak_ptr< chi::EventSubscriber > > | subscribers_ |
Definition at line 9 of file SystemWideEventPublisher.h.
|
delete |
|
private |
Definition at line 6 of file SystemWideEventPublisher.cc.
|
static |
Definition at line 11 of file SystemWideEventPublisher.cc.
|
delete |
|
overridevirtual |
Publish the given event.
Reimplemented from chi::EventPublisher.
Definition at line 18 of file SystemWideEventPublisher.cc.