Transaction-Level Modeling Framework for Space Applications
#include <sr_signal_ifs.h>
Public Member Functions | |
virtual | ~signal_in_if () |
Virtual destructor. More... | |
virtual void | bind (signal_out_bind_if< TYPE > &t, const unsigned int &channel=0)=0 |
virtual void | update (signal_out_if< TYPE > *sender, const sc_core::sc_time &time=sc_core::SC_ZERO_TIME)=0 |
Public Member Functions inherited from sr_signal::signal_if< TYPE > | |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from sr_signal::signal_if< TYPE > | |
TYPE | m_value |
The signal value. More... | |
Signal input interface. This interface implements the bind functionality of an input signal and it provides an abstract function declarations to update the signal. The signal has to be updated by an output signal. If the write function of an output signal is called all connected input signals shall call their update functions.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Abstract bind method interface. This method has to be implemented by each input signal to make it bind with an output.
t | Input interface to bind with. |
channel | The channel which has to be bind. |
Implemented in sr_signal::signal_infield< TYPE, MODULE >, and sr_signal::signal_in< TYPE, MODULE >.
Referenced by sr_signal::connect(), sr_signal::signal_out< bool, Irqmp >::operator()(), and sr_signal::signal_selector< TYPE, MODULE >::operator()().
|
pure virtual |
Abstract update method interface. This method has to be implemented by each input signal to update the the signal value and call all callbacks.
sender | Which calls update. |
time | Delay from sc_timestamp() after which the signal is set. |
Implemented in sr_signal::signal_infield< TYPE, MODULE >, and sr_signal::signal_in< TYPE, MODULE >.