SetAutoTrigger.hpp
1 #pragma once
2 #include <State/Expression.hpp>
3 
4 #include <Scenario/Commands/ScenarioCommandFactory.hpp>
5 #include <Scenario/Document/TimeSync/TimeSyncModel.hpp>
6 
7 #include <score/command/Command.hpp>
8 #include <score/command/PropertyCommand.hpp>
9 #include <score/model/path/Path.hpp>
10 
11 namespace Scenario::Command
12 {
13 using TimeSyncModel = Scenario::TimeSyncModel;
14 
15 }
16 
17 PROPERTY_COMMAND_T(
18  Scenario::Command, SetTimeSyncMusicalSync, TimeSyncModel::p_musicalSync, "Set sync")
19 SCORE_COMMAND_DECL_T(Scenario::Command::SetTimeSyncMusicalSync)
20 
21 PROPERTY_COMMAND_T(
22  Scenario::Command, SetTimeSyncIsActive, TimeSyncModel::p_active, "Set active")
23 SCORE_COMMAND_DECL_T(Scenario::Command::SetTimeSyncIsActive)
24 
25 PROPERTY_COMMAND_T(
26  Scenario::Command, SetTimeSyncIsStartPoint, TimeSyncModel::p_startPoint,
27  "Set start point")
28 SCORE_COMMAND_DECL_T(Scenario::Command::SetTimeSyncIsStartPoint)
29 
30 PROPERTY_COMMAND_T(
31  Scenario::Command, SetTimeSyncIsAutoTrigger, TimeSyncModel::p_autotrigger,
32  "Set auto-trigger")
33 SCORE_COMMAND_DECL_T(Scenario::Command::SetTimeSyncIsAutoTrigger)
Definition: TimeSyncModel.hpp:34
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14