Interval.hpp
1 #pragma once
2 #include <Scenario/Document/Components/IntervalComponent.hpp>
3 
4 #include <score/model/ComponentHierarchy.hpp>
5 
6 #include <RemoteControl/DocumentPlugin.hpp>
7 #include <RemoteControl/Scenario/Process.hpp>
8 
9 namespace RemoteControl
10 {
12  : public Scenario::GenericIntervalComponent<RemoteControl::DocumentPlugin>
13 {
14  COMMON_COMPONENT_METADATA("b079041c-f11f-49b1-a88f-b2bc070affb1")
15 public:
21 
23  Scenario::IntervalModel& Interval, DocumentPlugin& doc, QObject* parent_comp);
24 
25  ~IntervalBase();
26 
28  make(ProcessComponentFactory& factory, Process::ProcessModel& process);
30 
31  bool removing(const Process::ProcessModel& cst, const ProcessComponent& comp);
32 
33  template <typename... Args>
34  void added(Args&&...)
35  {
36  }
37  template <typename... Args>
38  void removed(Args&&...)
39  {
40  }
41 };
42 
43 class Interval final : public score::PolymorphicComponentHierarchy<IntervalBase>
44 {
45 public:
47  IntervalBase>::PolymorphicComponentHierarchyManager;
48 };
49 }
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
Definition: plugins/score-plugin-remotecontrol/RemoteControl/DocumentPlugin.hpp:125
Definition: Interval.hpp:13
Definition: Interval.hpp:44
Definition: score-plugin-remotecontrol/RemoteControl/Scenario/Process.hpp:35
Definition: score-plugin-remotecontrol/RemoteControl/Scenario/Process.hpp:17
Definition: Scenario/Document/Components/IntervalComponent.hpp:12
Definition: IntervalModel.hpp:50
Definition: ComponentFactory.hpp:48
Manages polymorphic hierarchies of components.
Definition: ComponentHierarchy.hpp:165