RTC Toolkit  2.0.0
Public Member Functions | List of all members
rtctk::componentFramework::EventServiceIf Class Referenceabstract

Interface class for providing pub/sub facilities for JSON events. More...

#include <eventServiceIf.hpp>

Inheritance diagram for rtctk::componentFramework::EventServiceIf:
rtctk::componentFramework::MalDdsEventService

Public Member Functions

virtual ~EventServiceIf ()=default
 
virtual std::unique_ptr< EventPublisherIfMakePublisher (std::string const &topic)=0
 Creates a new publisher for a specified topic. More...
 
virtual std::unique_ptr< EventSubscriberIfMakeSubscriber (std::string const &topic)=0
 Creates a new subscriber for a specified topic. More...
 

Detailed Description

Interface class for providing pub/sub facilities for JSON events.

Constructor & Destructor Documentation

◆ ~EventServiceIf()

virtual rtctk::componentFramework::EventServiceIf::~EventServiceIf ( )
virtualdefault

Member Function Documentation

◆ MakePublisher()

virtual std::unique_ptr<EventPublisherIf> rtctk::componentFramework::EventServiceIf::MakePublisher ( std::string const &  topic)
pure virtual

Creates a new publisher for a specified topic.

Parameters
[in]topicThe topic name.

Implemented in rtctk::componentFramework::MalDdsEventService.

◆ MakeSubscriber()

virtual std::unique_ptr<EventSubscriberIf> rtctk::componentFramework::EventServiceIf::MakeSubscriber ( std::string const &  topic)
pure virtual

Creates a new subscriber for a specified topic.

Parameters
[in]topicThe topic name.

Implemented in rtctk::componentFramework::MalDdsEventService.


The documentation for this class was generated from the following file: