pub trait SimHandleEvents {
// Required method
fn handle_events(
&mut self,
time: f64,
input_event: bool,
terminate_simulation: &mut bool,
) -> Result<bool, Error>;
}Expand description
Interface for handling events in the simulation. Implemented by ME in fmi2 and ME+CS in fmi3.