10class SubConditionEventStarting {
11 NON_DEFAULT_CONSTRUCTIBLE(SubConditionEventStarting)
12 COPYABLE(SubConditionEventStarting)
13 MOVEABLE(SubConditionEventStarting)
15 explicit SubConditionEventStarting(VIPRA::idx event) : _event(event) {}
17 void operator()(
Simpack pack,
const VIPRA::idxVec& ,
18 std::vector<Target>
const& , std::vector<bool>& met,
19 std::vector<bool>
const& , BoolOp )
const
21 std::fill(met.begin(), met.end(), pack.context.events[_event].is_starting());