SOLA
Loading...
Searching...
No Matches
event_dissemination.h
1// Copyright The SOLA Contributors
2//
3// Licensed under the MIT License.
4// For details on the licensing terms, see the LICENSE file.
5// SPDX-License-Identifier: MIT
6
7#ifndef SOLA_EVENT_DISSEMINATION_H_
8#define SOLA_EVENT_DISSEMINATION_H_
9
10#include <string>
11#include <vector>
12
13namespace sola {
15public:
16 virtual ~EventDissemination() = default;
17 virtual void publish(const TopicMessage &msg) = 0;
18 virtual void subscribe(const std::string &topic) = 0;
19 virtual void unsubscribe(const std::string &topic) = 0;
20
21 virtual void stop() = 0;
22 virtual bool canStop() const = 0;
23};
24} // namespace sola
25
26#endif
Definition event_dissemination.h:14
Definition message.h:20