pub mod api;
mod bus_log;
pub mod clock;
pub mod context;
pub mod launch;
mod managed;
pub mod metadata;
pub(crate) mod runner;
mod runtime_performance;
pub mod scheduler;
pub mod server;
pub mod spec;
pub use api::{
ApiContractUse, ContractRole, DeclaresAsk, DeclaresPublish, DeclaresServe, DeclaresSubscribe,
Participant, ParticipantApi, ParticipantConfig, ParticipantLifecycle, Server,
SetupContextApiExt, SetupContextDriverExt, SetupContextSimulatorExt, SetupContextToolExt,
};
pub use clock::{ClockSource, RealClock, TestClock};
pub use context::{SetupContext, ShutdownContext, StepContext};
pub use launch::{
BusProfile, ClockMode, ExecutionDeviceId, MAX_EXECUTION_DEVICE_ID_BYTES, ParticipantLaunch,
};
pub use managed::ManagedTaskPolicy;
pub use runner::{run, run_async, run_with};
pub use scheduler::{
AnyStepScheduler, RealScheduler, SchedulerTick, SimulationClockHandle, SimulationScheduler,
StepScheduler,
};
pub use server::{ServerOutcome, ServerReply, Snapshot};
pub use spec::{IsDriver, IsSimulator, IsTool, MissedTick, StepSchedule, TypedGraphSurface};
pub use crate::bus::LogicalTime;
#[cfg(test)]
mod tests;