RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rtctk::componentFramework::EventServiceIf Class Referenceabstract

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

#include <rtctk/componentFramework/eventServiceIf.hpp>

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

Public Member Functions

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

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 ( const std::string & topic)
pure virtual

Creates a new publisher for a specified topic.

Parameters
[in]topicThe topic name.

Implemented in MockEventService, rtctk::componentFramework::MalDdsEventService, and MockEventService.

◆ MakeSubscriber()

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

Creates a new subscriber for a specified topic.

Parameters
[in]topicThe topic name.

Implemented in MockEventService, rtctk::componentFramework::MalDdsEventService, and MockEventService.


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