ProcessPolicy.hpp
1 #pragma once
2 #include <score/model/Identifier.hpp>
3 
4 #include <score_plugin_scenario_export.h>
5 
6 namespace Process
7 {
8 class ProcessModel;
9 }
10 namespace Scenario
11 {
12 class IntervalModel;
13 class StateModel;
14 SCORE_PLUGIN_SCENARIO_EXPORT void
15 AddProcess(IntervalModel& interval, Process::ProcessModel*);
16 
17 // Does delete the process
18 SCORE_PLUGIN_SCENARIO_EXPORT void
19 RemoveProcess(IntervalModel& interval, const Id<Process::ProcessModel>&);
20 
21 // Does not
22 SCORE_PLUGIN_SCENARIO_EXPORT void
23 EraseProcess(IntervalModel& interval, const Id<Process::ProcessModel>&);
24 
25 SCORE_PLUGIN_SCENARIO_EXPORT void
26 SetPreviousInterval(StateModel& state, const IntervalModel& interval);
27 SCORE_PLUGIN_SCENARIO_EXPORT void
28 SetNextInterval(StateModel& state, const IntervalModel& interval);
29 SCORE_PLUGIN_SCENARIO_EXPORT void SetNoPreviousInterval(StateModel& state);
30 SCORE_PLUGIN_SCENARIO_EXPORT void SetNoNextInterval(StateModel& state);
31 }
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
The id_base_t class.
Definition: Identifier.hpp:57
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14