mokomoking2501/MoonECAT/runtime/hil does not have a README file
pub(open) trait CycleHook {
fn on_pre_cycle(Self, CycleSnapshot, PdoContext) -> CycleDirective
fn on_post_cycle(Self, CycleSnapshot, PdoContext) -> CycleDirective
fn on_fault(Self, CycleSnapshot, EcError) -> CycleDirective
}pub(all) struct CycleSnapshot {
cycle : Int64
result : CycleResult?
dc_state : DcState
recovery_pending : Bool
} derive(Debug)impl CycleHook for HilCycleHook[A]fn[A : CoSimAdapter] on_fault(self : HilCycleHook[A], _snap : CycleSnapshot, _err : EcError) -> CycleDirectivefn[A : CoSimAdapter] on_post_cycle(self : HilCycleHook[A], _snap : CycleSnapshot, ctx : PdoContext) -> CycleDirectivefn[A : CoSimAdapter] on_pre_cycle(self : HilCycleHook[A], snap : CycleSnapshot, ctx : PdoContext) -> CycleDirectivepub(all) struct HilSession {
sim_time : SimTime
cycle_period_ns : Int64
schedule : TaskSchedule
step_log : Array[SimStepResult]
terminated : Bool
termination_reason : String
}pub(all) struct HilSessionSummary {
total_steps : Int
ok_steps : Int
error_steps : Int
terminated : Bool
termination_reason : String
final_sim_time_ns : Int64
} derive(Debug)pub struct NullCycleHook {
_unused : Unit
}impl CycleHook for NullCycleHook