score-plugin-automation/Automation/LocalTree.hpp
1 #pragma once
2 #include <Automation/AutomationModel.hpp>
3 #include <LocalTree/ProcessComponent.hpp>
4 
5 namespace LocalTree
6 {
7 class AutomationComponent final : public ProcessComponent_T<Automation::ProcessModel>
8 {
9  COMPONENT_METADATA("49d55f75-1ee7-47c9-9a77-450e4da7083c")
10 
11 public:
13  ossia::net::node_base& parent, Automation::ProcessModel& proc,
14  const score::DocumentContext& ctx, QObject* parent_obj)
16  parent, proc, ctx, "AutomationComponent", parent_obj}
17  {
18  add<Automation::ProcessModel::p_min>(proc);
19  add<Automation::ProcessModel::p_max>(proc);
20  }
21 };
22 
24 }
Definition: AutomationModel.hpp:36
Definition: score-plugin-automation/Automation/LocalTree.hpp:8
Definition: LocalTree/ProcessComponent.hpp:47
Local tree provides a way to extend the tree given through the Engine::Network::LocalDevice.
Definition: BaseCallbackWrapper.hpp:9
Definition: DocumentContext.hpp:18