Loading...
Searching...
No Matches
TriggerCommandFactory.hpp
1#pragma once
2#include <score/plugins/Interface.hpp>
3
4#include <score_plugin_scenario_export.h>
5namespace score
6{
7class Command;
8}
9namespace Scenario
10{
11class TimeSyncModel;
12namespace Command
13{
14
15class SCORE_PLUGIN_SCENARIO_EXPORT TriggerCommandFactory : public score::InterfaceBase
16{
17 SCORE_INTERFACE(TriggerCommandFactory, "d6b7385e-b6c4-4cc2-8fc6-1041a43d98fa")
18public:
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:13
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition ObjectMatches.hpp:6