Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- #pragma once
-
- #include <QObject>
- #include "hello_world_publisher.hpp"
- #include <memory>
-
- class DDSManager : public QObject
- {
- Q_OBJECT
-
- public:
- explicit DDSManager(QObject *parent = nullptr);
- ~DDSManager();
-
- bool init();
- Q_INVOKABLE void publishOnce();
-
- signals:
- void messagePublished(const QString& message, int index);
-
- private:
- std::unique_ptr<HelloWorldPublisher> publisher_;
- };
|