Transaction-Level Modeling Framework for Space Applications
#include <sr_signal_ifs.h>
Public Member Functions | |
virtual | ~signal_if () |
Virtual destructor. More... | |
virtual const TYPE & | read () |
Read the current signal value. More... | |
operator TYPE () const | |
Call operator to get the current signal value. More... | |
bool | operator== (const TYPE &t) const |
Comparing the current signal value with a variable of the same type TYPE. More... | |
Protected Attributes | |
TYPE | m_value |
The signal value. More... | |
Main signal interface. This interface implements the basic read functionality of a signal value This is needed for input and output signals.
|
inlinevirtual |
Virtual destructor.
|
inline |
Call operator to get the current signal value.
References sr_signal::signal_if< TYPE >::m_value.
|
inline |
Comparing the current signal value with a variable of the same type TYPE.
|
inlinevirtual |
Read the current signal value.
Referenced by sr_signal::signal_in< TYPE, MODULE >::update(), and sr_signal::signal_infield< TYPE, MODULE >::update().
|
protected |
The signal value.
Referenced by sr_signal::signal_if< TYPE >::operator TYPE(), sr_signal::signal_in< TYPE, MODULE >::operator TYPE(), sr_signal::signal_out< bool, Irqmp >::operator=(), sr_signal::signal_out_if< bool >::operator=(), sr_signal::signal_if< bool >::operator==(), sr_signal::signal_if< bool >::read(), sr_signal::signal_in< TYPE, MODULE >::update(), and sr_signal::signal_out< bool, Irqmp >::write().