|
RTC Toolkit 5.1.0
|
Interface class for providing pub/sub facilities for JSON events. More...
#include <rtctk/componentFramework/eventServiceIf.hpp>
Public Member Functions | |
| virtual | ~EventServiceIf ()=default |
| virtual std::unique_ptr< EventPublisherIf > | MakePublisher (const std::string &topic)=0 |
| Creates a new publisher for a specified topic. | |
| virtual std::unique_ptr< EventSubscriberIf > | MakeSubscriber (const std::string &topic)=0 |
| Creates a new subscriber for a specified topic. | |
Interface class for providing pub/sub facilities for JSON events.
|
virtualdefault |
|
pure virtual |
Creates a new publisher for a specified topic.
| [in] | topic | The topic name. |
Implemented in MockEventService, rtctk::componentFramework::MalDdsEventService, and MockEventService.
|
pure virtual |
Creates a new subscriber for a specified topic.
| [in] | topic | The topic name. |
Implemented in MockEventService, rtctk::componentFramework::MalDdsEventService, and MockEventService.