RTC Toolkit  2.0.0
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
rtctk::componentFramework::MalDdsEventSubscriber Class Reference

Implementation of event subscriber. More...

#include <malDdsEventService.hpp>

Inheritance diagram for rtctk::componentFramework::MalDdsEventSubscriber:
rtctk::componentFramework::EventSubscriberIf

Public Member Functions

void Subscribe (std::function< void(JsonPayload const &)> cb) override
 Subscribes to the topic. More...
 
void Unsubscribe () override
 Unsubscribes from the topic. More...
 
- Public Member Functions inherited from rtctk::componentFramework::EventSubscriberIf
virtual ~EventSubscriberIf ()=default
 

Public Attributes

friend MalDdsEventService
 

Static Public Attributes

static const std::string QOS_FILE = "config/rtctk/dds/eventServiceDdsQos.xml"
 

Detailed Description

Implementation of event subscriber.

Thread Safety
thread-safe

Member Function Documentation

◆ Subscribe()

void rtctk::componentFramework::MalDdsEventSubscriber::Subscribe ( std::function< void(JsonPayload const &)>  cb)
overridevirtual

Subscribes to the topic.

Implements rtctk::componentFramework::EventSubscriberIf.

◆ Unsubscribe()

void rtctk::componentFramework::MalDdsEventSubscriber::Unsubscribe ( )
overridevirtual

Unsubscribes from the topic.

Implements rtctk::componentFramework::EventSubscriberIf.

Member Data Documentation

◆ MalDdsEventService

friend rtctk::componentFramework::MalDdsEventSubscriber::MalDdsEventService

◆ QOS_FILE

const std::string rtctk::componentFramework::MalDdsEventSubscriber::QOS_FILE = "config/rtctk/dds/eventServiceDdsQos.xml"
inlinestatic

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