pub struct TimingEvent(/* private fields */);
Expand description
A TimingEvent
is a subclass of RTEEvent
which triggers a RunnableEntity
periodically
Implementations§
Source§impl TimingEvent
impl TimingEvent
Sourcepub fn set_period(&self, period: f64) -> Result<(), AutosarAbstractionError>
pub fn set_period(&self, period: f64) -> Result<(), AutosarAbstractionError>
Set the period of the TimingEvent
Trait Implementations§
Source§impl AbstractRTEEvent for TimingEvent
impl AbstractRTEEvent for TimingEvent
Source§fn 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
Source§fn runnable_entity(&self) -> Option<RunnableEntity>
fn runnable_entity(&self) -> Option<RunnableEntity>
Get the
RunnableEntity
that is triggered by the TimingEvent
Source§fn swc_internal_behavior(&self) -> Option<SwcInternalBehavior>
fn swc_internal_behavior(&self) -> Option<SwcInternalBehavior>
Get the
SwcInternalBehavior
that contains the eventSource§impl AbstractionElement for TimingEvent
impl AbstractionElement for TimingEvent
Source§impl Clone for TimingEvent
impl Clone for TimingEvent
Source§fn clone(&self) -> TimingEvent
fn clone(&self) -> TimingEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimingEvent
impl Debug for TimingEvent
Source§impl From<TimingEvent> for Element
impl From<TimingEvent> for Element
Source§fn from(val: TimingEvent) -> Self
fn from(val: TimingEvent) -> Self
Converts to this type from the input type.
Source§impl Hash for TimingEvent
impl Hash for TimingEvent
Source§impl PartialEq for TimingEvent
impl PartialEq for TimingEvent
Source§impl TryFrom<Element> for TimingEvent
impl TryFrom<Element> for TimingEvent
impl Eq for TimingEvent
impl StructuralPartialEq for TimingEvent
Auto Trait Implementations§
impl Freeze for TimingEvent
impl !RefUnwindSafe for TimingEvent
impl Send for TimingEvent
impl Sync for TimingEvent
impl Unpin for TimingEvent
impl !UnwindSafe for TimingEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.