Transaction-Level Modeling Framework for Space Applications
#include <sr_signal_ifs.h>
Public Member Functions | |
virtual | ~signal_out_if () |
Virtual destructor. More... | |
virtual void | write (const TYPE &value, const sc_core::sc_time &time=sc_core::SC_ZERO_TIME)=0 |
virtual TYPE | operator= (const TYPE &t) |
virtual TYPE | operator= (const signal_if< TYPE > &t) |
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... | |
Public Member Functions inherited from sr_signal::signal_out_bind_if< TYPE > | |
virtual | ~signal_out_bind_if () |
Virtual destructor. More... | |
virtual signal_out_bind_if < TYPE > * | bind (signal_in_if< TYPE > &t, const unsigned int &channel=0)=0 |
Additional Inherited Members | |
Protected Attributes inherited from sr_signal::signal_if< TYPE > | |
TYPE | m_value |
The signal value. More... | |
Signal output interface This interface provides abstract function declarations to write on a signal.
|
inlinevirtual |
Virtual destructor.
|
inlinevirtual |
Set operator. The value of the signal is changed to a new value.
t | The new value. |
Reimplemented in sr_signal::signal_out< TYPE, MODULE >, and sr_signal::signal_out< bool, Irqmp >.
|
virtual |
Set operator. Thets the signal to a value from another signal.
t | Signal to read the value from. |
Reimplemented in sr_signal::signal_out< TYPE, MODULE >, and sr_signal::signal_out< bool, Irqmp >.
References pysc::api::cci::write().
|
pure virtual |
Write method. This abstract method has to be implemented by each output signal. It handles the write behaviour of the signal. Therefore it will propagate the written value to the other ends of the signal (input signals).
value | The new value of the signal. Which is to set. |
time | Delay from sc_timestamp() after which the signal is set. |
Implemented in sr_signal::signal_out< TYPE, MODULE >, and sr_signal::signal_out< bool, Irqmp >.
Referenced by usi.shell.console.Console::interact(), and sr_signal::signal_out_if< bool >::operator=().