Trait ClockProvider
pub trait ClockProvider {
// Required method
fn get_clock(&self) -> RobotClock;
}
Expand description
A trait to provide a clock to the runtime.
Required Methods§
fn get_clock(&self) -> RobotClock
Implementors§
impl<CT, P, M, const NBCL: usize> ClockProvider for CuRuntime<CT, P, M, NBCL>where
P: CopperListTuple,
M: CuMonitor,
To be able to share the clock we make the runtime a clock provider.