18 const std::string&
ownerName,
const bool isPulsed,
38 "Object '{}' has a schedule period with start ({}) >= end ({}). Ignoring period.",
ownerName,
46 "Object '{}' has a schedule period [{}, {}] completely outside simulation time. Ignoring.",
59 std::ranges::sort(
valid_periods, [](
const auto&
a,
const auto&
b) {
return a.start <
b.start; });
62 std::vector<SchedulePeriod>
merged;
double RealType
Type for real numbers.
Header file for the logging system.
@ WARNING
Warning level for potentially harmful situations.
RealType endTime() noexcept
Get the end time for the simulation.
RealType startTime() noexcept
Get the start time for the simulation.
std::vector< SchedulePeriod > processRawSchedule(const std::vector< SchedulePeriod > &periods, const std::string &ownerName, const bool isPulsed, const RealType pri)
Processes a raw list of schedule periods.
Defines the Parameters struct and provides methods for managing simulation parameters.