奥特QT DDS 插件库
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

dds_manager.hpp 434B

5 miesięcy temu
1234567891011121314151617181920212223
  1. #pragma once
  2. #include <QObject>
  3. #include "hello_world_publisher.hpp"
  4. #include <memory>
  5. class DDSManager : public QObject
  6. {
  7. Q_OBJECT
  8. public:
  9. explicit DDSManager(QObject *parent = nullptr);
  10. ~DDSManager();
  11. bool init();
  12. Q_INVOKABLE void publishOnce();
  13. signals:
  14. void messagePublished(const QString& message, int index);
  15. private:
  16. std::unique_ptr<HelloWorldPublisher> publisher_;
  17. };