A scheduler group with its own rate and priority.
More...
#include <SimulatorConfig.hpp>
|
| std::string | name |
| double | rate_hz = 400.0 |
| | Must be integer divisor of simulation rate.
|
| int | priority = 0 |
| | Execution order relative to other groups.
|
| std::vector< GroupMember > | members |
| std::set< int32_t > | active_phases |
| | Phase gating: if non-empty, group only executes when current phase is in this set.
|
A scheduler group with its own rate and priority.
◆ SchedulerGroupConfig() [1/2]
| icarus::SchedulerGroupConfig::SchedulerGroupConfig |
( |
| ) |
|
|
default |
◆ SchedulerGroupConfig() [2/2]
| icarus::SchedulerGroupConfig::SchedulerGroupConfig |
( |
std::string | n, |
|
|
double | rate, |
|
|
int | prio = 0 ) |
|
inline |
◆ IsActiveInPhase()
| bool icarus::SchedulerGroupConfig::IsActiveInPhase |
( |
int32_t | current_phase | ) |
const |
|
inlinenodiscard |
Check if group should execute in given phase (empty = all phases).
◆ active_phases
| std::set<int32_t> icarus::SchedulerGroupConfig::active_phases |
Phase gating: if non-empty, group only executes when current phase is in this set.
◆ members
| std::vector<GroupMember> icarus::SchedulerGroupConfig::members |
◆ name
| std::string icarus::SchedulerGroupConfig::name |
◆ priority
| int icarus::SchedulerGroupConfig::priority = 0 |
Execution order relative to other groups.
◆ rate_hz
| double icarus::SchedulerGroupConfig::rate_hz = 400.0 |
Must be integer divisor of simulation rate.
The documentation for this struct was generated from the following file: