pub trait AbstractRTEEvent: AbstractionElement {
// Provided methods
fn set_runnable_entity(
&self,
runnable_entity: &RunnableEntity,
) -> Result<(), AutosarAbstractionError> { ... }
fn runnable_entity(&self) -> Option<RunnableEntity> { ... }
fn swc_internal_behavior(&self) -> Option<SwcInternalBehavior> { ... }
}
Expand description
A AbstractRTEEvent
is an event that triggers a RunnableEntity
in the RTE
All different kinds of triggering event share the common trait AbstractRTEEvent
Provided Methods§
Sourcefn set_runnable_entity(
&self,
runnable_entity: &RunnableEntity,
) -> Result<(), AutosarAbstractionError>
fn set_runnable_entity( &self, runnable_entity: &RunnableEntity, ) -> Result<(), AutosarAbstractionError>
Set the RunnableEntity
that is triggered by the TimingEvent
Sourcefn runnable_entity(&self) -> Option<RunnableEntity>
fn runnable_entity(&self) -> Option<RunnableEntity>
Get the RunnableEntity
that is triggered by the TimingEvent
Sourcefn swc_internal_behavior(&self) -> Option<SwcInternalBehavior>
fn swc_internal_behavior(&self) -> Option<SwcInternalBehavior>
Get the SwcInternalBehavior
that contains the event
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.