RecordMessagesManager.hpp
1 #pragma once
2 #include <Recording/Record/RecordProviderFactory.hpp>
3 #include <Recording/Record/RecordTools.hpp>
4 
5 #include <verdigris>
6 namespace Recording
7 {
9 {
10  double percentage;
12 };
14  : public QObject
15  , public RecordProvider
16  , public Nano::Observer
17 {
18  W_OBJECT(MessageRecorder)
19 public:
20  RecordContext& context;
21 
23 
24  bool setup(const Box&, const RecordListening&) override;
25  void stop() override;
26 
27  int count() { return 1; }
28 
29 public:
30  void firstMessageReceived() W_SIGNAL(firstMessageReceived);
31 
32 private:
33  void on_valueUpdated(const State::Address& addr, const ossia::value& val);
34  std::vector<QPointer<Device::DeviceInterface>> m_recordCallbackConnections;
35 
36  Scenario::ProcessModel* m_createdProcess{};
37  std::vector<RecordedMessage> m_records;
38 };
39 }
Definition: RecordMessagesManager.hpp:17
The core hierarchical and temporal process of score.
Definition: ScenarioModel.hpp:37
Definition: RecordTools.hpp:64
Definition: RecordProviderFactory.hpp:39
Definition: RecordProviderFactory.hpp:86
Definition: RecordMessagesManager.hpp:9
The Address struct.
Definition: Address.hpp:58
The Message struct.
Definition: Message.hpp:15