RTC Toolkit 5.0.0
|
#include <helpers.hpp>
Public Member Functions | |
MockEventService () | |
std::unique_ptr< EventPublisherIf > | MakePublisher (const std::string &topic) override |
Creates a new publisher for a specified topic. | |
std::unique_ptr< EventSubscriberIf > | MakeSubscriber (const std::string &topic) override |
Creates a new subscriber for a specified topic. | |
MockEventService () | |
std::unique_ptr< EventPublisherIf > | MakePublisher (const std::string &topic) override |
Creates a new publisher for a specified topic. | |
std::unique_ptr< EventSubscriberIf > | MakeSubscriber (const std::string &topic) override |
Creates a new subscriber for a specified topic. | |
![]() | |
virtual | ~EventServiceIf ()=default |
Public Attributes | |
std::map< std::string, MockEventPublisher * > | pub |
std::map< std::string, MockEventSubscriber * > | sub |
|
inline |
|
inline |
|
inlineoverridevirtual |
Creates a new publisher for a specified topic.
[in] | topic | The topic name. |
Implements rtctk::componentFramework::EventServiceIf.
|
inlineoverridevirtual |
Creates a new publisher for a specified topic.
[in] | topic | The topic name. |
Implements rtctk::componentFramework::EventServiceIf.
|
inlineoverridevirtual |
Creates a new subscriber for a specified topic.
[in] | topic | The topic name. |
Implements rtctk::componentFramework::EventServiceIf.
|
inlineoverridevirtual |
Creates a new subscriber for a specified topic.
[in] | topic | The topic name. |
Implements rtctk::componentFramework::EventServiceIf.
std::map< std::string, MockEventPublisher * > MockEventService::pub |
std::map< std::string, MockEventSubscriber * > MockEventService::sub |