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

A high-level event service API that is aware of event types. More...

#include <rtctk/componentFramework/typedEventService.hpp>

Public Member Functions

 TypedEventService (EventServiceIf &es)
 
template<typename EventType >
std::unique_ptr< TypedEventPublisher< EventType > > MakePublisher ()
 Creates a new publisher for a specified event type.
 
template<typename EventType >
std::unique_ptr< TypedEventSubscriber< EventType > > MakeSubscriber ()
 Creates a new subscriber for a specified event type.
 

Detailed Description

A high-level event service API that is aware of event types.

Thread Safety
thread-safe
Deprecated
Use EventServiceIf instead.

Constructor & Destructor Documentation

◆ TypedEventService()

rtctk::componentFramework::TypedEventService::TypedEventService ( EventServiceIf & es)
inlineexplicit

Member Function Documentation

◆ MakePublisher()

template<typename EventType >
std::unique_ptr< TypedEventPublisher< EventType > > rtctk::componentFramework::TypedEventService::MakePublisher ( )
inline

Creates a new publisher for a specified event type.

Template Parameters
EventTypeThe event type.

◆ MakeSubscriber()

template<typename EventType >
std::unique_ptr< TypedEventSubscriber< EventType > > rtctk::componentFramework::TypedEventService::MakeSubscriber ( )
inline

Creates a new subscriber for a specified event type.

Template Parameters
EventTypeThe event type.

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