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

Interface class for publishing JSON events. More...

#include <rtctk/componentFramework/eventServiceIf.hpp>

Inheritance diagram for rtctk::componentFramework::EventPublisherIf:
MockEventPublisher MockEventPublisher rtctk::componentFramework::MalDdsEventPublisher

Public Member Functions

virtual ~EventPublisherIf ()=default
 
virtual void Publish (const JsonPayload &sample)=0
 Publishes a JSON object.
 

Detailed Description

Interface class for publishing JSON events.

Constructor & Destructor Documentation

◆ ~EventPublisherIf()

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

Member Function Documentation

◆ Publish()

virtual void rtctk::componentFramework::EventPublisherIf::Publish ( const JsonPayload & sample)
pure virtual

Publishes a JSON object.

Parameters
[in]sampleJSON object to publish.

Implemented in MockEventPublisher, rtctk::componentFramework::MalDdsEventPublisher, and MockEventPublisher.


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