pub struct SystemSignal(/* private fields */);
Expand description
The system signal represents the communication system’s view of data exchanged between SW components which reside on different ECUs
Use ArPackage::create_system_signal
to create a new system signal
Implementations§
Source§impl SystemSignal
impl SystemSignal
Sourcepub fn signal_group(&self) -> Option<SystemSignalGroup>
pub fn signal_group(&self) -> Option<SystemSignalGroup>
get the signal group that contains this signal
Sourcepub fn set_unit(&self, unit: &Unit) -> Result<(), AutosarAbstractionError>
pub fn set_unit(&self, unit: &Unit) -> Result<(), AutosarAbstractionError>
set the unit for this signal
Sourcepub fn set_compu_method(
&self,
compu_method: &CompuMethod,
) -> Result<(), AutosarAbstractionError>
pub fn set_compu_method( &self, compu_method: &CompuMethod, ) -> Result<(), AutosarAbstractionError>
set the compu method for this signal
Sourcepub fn compu_method(&self) -> Option<CompuMethod>
pub fn compu_method(&self) -> Option<CompuMethod>
get the compu method for this signal
Sourcepub fn set_data_constr(
&self,
data_constr: &DataConstr,
) -> Result<(), AutosarAbstractionError>
pub fn set_data_constr( &self, data_constr: &DataConstr, ) -> Result<(), AutosarAbstractionError>
set the data constraint for this signal
Sourcepub fn data_constr(&self) -> Option<DataConstr>
pub fn data_constr(&self) -> Option<DataConstr>
get the data constraint for this signal
Trait Implementations§
Source§impl AbstractionElement for SystemSignal
impl AbstractionElement for SystemSignal
Source§impl Clone for SystemSignal
impl Clone for SystemSignal
Source§fn clone(&self) -> SystemSignal
fn clone(&self) -> SystemSignal
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 SystemSignal
impl Debug for SystemSignal
Source§impl From<SystemSignal> for Element
impl From<SystemSignal> for Element
Source§fn from(val: SystemSignal) -> Self
fn from(val: SystemSignal) -> Self
Converts to this type from the input type.
Source§impl Hash for SystemSignal
impl Hash for SystemSignal
Source§impl PartialEq for SystemSignal
impl PartialEq for SystemSignal
Source§impl TryFrom<Element> for SystemSignal
impl TryFrom<Element> for SystemSignal
impl Eq for SystemSignal
impl StructuralPartialEq for SystemSignal
Auto Trait Implementations§
impl Freeze for SystemSignal
impl !RefUnwindSafe for SystemSignal
impl Send for SystemSignal
impl Sync for SystemSignal
impl Unpin for SystemSignal
impl !UnwindSafe for SystemSignal
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.