Loading...
Searching...
No Matches
ProcessPolicy.hpp
1#pragma once
2#include <score/model/Identifier.hpp>
3
4#include <score_plugin_scenario_export.h>
5
6namespace Process
7{
8class ProcessModel;
9}
10namespace Scenario
11{
12class IntervalModel;
13class StateModel;
14SCORE_PLUGIN_SCENARIO_EXPORT void
15AddProcess(IntervalModel& interval, Process::ProcessModel*);
16
17// Does delete the process
18SCORE_PLUGIN_SCENARIO_EXPORT void
19RemoveProcess(IntervalModel& interval, const Id<Process::ProcessModel>&);
20
21// Does not
22SCORE_PLUGIN_SCENARIO_EXPORT void
23EraseProcess(IntervalModel& interval, const Id<Process::ProcessModel>&);
24
25SCORE_PLUGIN_SCENARIO_EXPORT void
26SetPreviousInterval(StateModel& state, const IntervalModel& interval);
27SCORE_PLUGIN_SCENARIO_EXPORT void
28SetNextInterval(StateModel& state, const IntervalModel& interval);
29SCORE_PLUGIN_SCENARIO_EXPORT void SetNoPreviousInterval(StateModel& state);
30SCORE_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:13