TriggerCommandFactory.hpp
1 #pragma once
2 #include <score/plugins/Interface.hpp>
3 
4 #include <score_plugin_scenario_export.h>
5 namespace score
6 {
7 class Command;
8 }
9 namespace Scenario
10 {
11 class TimeSyncModel;
12 namespace Command
13 {
14 
15 class SCORE_PLUGIN_SCENARIO_EXPORT TriggerCommandFactory : public score::InterfaceBase
16 {
17  SCORE_INTERFACE(TriggerCommandFactory, "d6b7385e-b6c4-4cc2-8fc6-1041a43d98fa")
18 public:
19  virtual ~TriggerCommandFactory();
20  virtual bool matches(const TimeSyncModel& tn) const = 0;
21  virtual score::Command* make_addTriggerCommand(const TimeSyncModel& tn) const = 0;
22  virtual score::Command* make_removeTriggerCommand(const TimeSyncModel& tn) const = 0;
23 };
24 }
25 }
Definition: TriggerCommandFactory.hpp:16
Definition: TimeSyncModel.hpp:34
The Command class.
Definition: Command.hpp:34
Base class for plug-in interfaces.
Definition: Interface.hpp:52
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: ObjectMatches.hpp:6