2 #include <Scenario/Document/BaseScenario/BaseScenarioContainer.hpp>
3 #include <Scenario/Process/ScenarioModel.hpp>
8 inline static auto& getIntervals(
const ProcessModel& target)
10 return target.intervals;
13 inline static auto& getStates(
const ProcessModel& target)
18 inline static auto& getEvents(
const ProcessModel& target)
23 inline static auto& getTimeSyncs(
const ProcessModel& target)
25 return target.timeSyncs;
28 inline static auto getIntervals(
const BaseScenarioContainer& target)
30 return target.intervals();
33 inline static auto getStates(
const BaseScenarioContainer& target)
35 return target.states();
38 inline static auto getEvents(
const BaseScenarioContainer& target)
40 return target.events();
43 inline static auto getTimeSyncs(
const BaseScenarioContainer& target)
45 return target.timeSyncs();
59 std::vector<T*> elements;
64 const auto& sc = (s.*type::accessor)();
65 elements.reserve(elements.size() + sc.size());
68 elements.push_back(&e);
Definition: IntervalModel.hpp:50
score::EntityMap< Process::ProcessModel, true > processes
Definition: IntervalModel.hpp:62
Definition: ScenarioInterface.hpp:20
Definition: ContainersAccessors.hpp:57
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ScenarioInterface.hpp:55