score-plugin-mapping/Mapping/LocalTree.hpp
1 #pragma once
2 #include <LocalTree/ProcessComponent.hpp>
3 #include <Mapping/MappingModel.hpp>
4 
5 namespace LocalTree
6 {
7 class MappingComponent final : public ProcessComponent_T<Mapping::ProcessModel>
8 {
9  COMPONENT_METADATA("30bec9cc-c495-4a6d-bd91-ec1313cc9078")
10 
11 public:
13  ossia::net::node_base& parent, Mapping::ProcessModel& proc,
14  const score::DocumentContext& ctx, QObject* parent_obj)
16  parent, proc, ctx, "MappingComponent", parent_obj}
17  {
18  add<Mapping::ProcessModel::p_sourceMin>(proc);
19  add<Mapping::ProcessModel::p_sourceMax>(proc);
20  add<Mapping::ProcessModel::p_targetMin>(proc);
21  add<Mapping::ProcessModel::p_targetMax>(proc);
22  }
23 };
24 
26 }
Definition: score-plugin-mapping/Mapping/LocalTree.hpp:8
Definition: LocalTree/ProcessComponent.hpp:47
Definition: MappingModel.hpp:27
Local tree provides a way to extend the tree given through the Engine::Network::LocalDevice.
Definition: BaseCallbackWrapper.hpp:9
Definition: DocumentContext.hpp:18