Struct rtlola_interpreter::config::Config
source · pub struct Config<InputTime: TimeRepresentation, OutputTime: OutputTimeRepresentation> {
pub ir: RtLolaMir,
pub mode: ExecutionMode,
pub input_time_representation: InputTime,
pub output_time_representation: PhantomData<OutputTime>,
pub start_time: Option<SystemTime>,
}Expand description
Config combines an RTLola specification in RtLolaMir form with various configuration parameters for the interpreter.
The configuration describes how the specification should be executed.
The Config can then be turned into a monitor for use via the API or simply executed.
Fields§
§ir: RtLolaMirThe representation of the specification
mode: ExecutionModeIn which mode the evaluator is executed
input_time_representation: InputTimeWhich format the time is given to the monitor
output_time_representation: PhantomData<OutputTime>Which format to use to output time
start_time: Option<SystemTime>The start time to assume