1#ifndef CHITECH_EVENTPUBLISHER_H
2#define CHITECH_EVENTPUBLISHER_H
24 void AddSubscriber(std::shared_ptr<chi::EventSubscriber>& subscriber_sptr);
EventPublisher(const std::string &name)
std::vector< std::weak_ptr< chi::EventSubscriber > > subscribers_
void AddSubscriber(std::shared_ptr< chi::EventSubscriber > &subscriber_sptr)
const std::string publisher_name_
virtual ~EventPublisher()=default
virtual void PublishEvent(const chi::Event &event)