Transaction-Level Modeling Framework for Space Applications
#include <sr_signal_out.h>
Public Member Functions | |
signal_out (sc_core::sc_module_name mn=NULL) | |
virtual | ~signal_out () |
Virtual destructor. More... | |
virtual signal_out_bind_if < TYPE > * | bind (signal_in_if< TYPE > &receiver, const uint32_t &channel=0) |
virtual void | write (const TYPE &value, const sc_core::sc_time &time=sc_core::SC_ZERO_TIME) |
void | operator() (signal_in_if< TYPE > &receiver) |
TYPE | operator= (const TYPE &t) |
Set the value and call updates on all receivern. More... | |
TYPE | operator= (const signal_if< TYPE > &t) |
Sets the value from another signal. More... | |
Public Member Functions inherited from sr_signal::signal_base< TYPE, MODULE > | |
signal_base (sc_core::sc_module_name mn=NULL) | |
Default constructor. More... | |
virtual | ~signal_base () |
Public Member Functions inherited from sr_signal::signal_out_if< TYPE > | |
virtual | ~signal_out_if () |
Virtual destructor. More... | |
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... | |
Protected Types | |
typedef std::vector < signal_in_if< TYPE > * > | t_receiver |
Type of a list of receivers. More... | |
Protected Attributes | |
t_receiver | m_receiver |
List of receivers. More... | |
Protected Attributes inherited from sr_signal::signal_if< TYPE > | |
TYPE | m_value |
The signal value. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from sr_signal::signal_base< TYPE, MODULE > | |
virtual MODULE * | get_module () |
sc_signal output signal. This class implements a TLM Signal abstraction of an outgoing signal. The signal stores the value and triggers the update function of all receivers.
|
protected |
Type of a list of receivers.
|
inline |
Constructor
mn | Signal name. |
|
inlinevirtual |
Virtual destructor.
|
inlinevirtual |
Output signal bind method. This method implements the binding mechanism with an input signal.
receiver | Input interface to bind with. |
channel | The channel which has to be bind. |
Implements sr_signal::signal_out_bind_if< TYPE >.
Referenced by sr_signal::signal_selector< TYPE, MODULE >::bind(), sr_signal::connect(), and sr_signal::signal_out< bool, Irqmp >::operator()().
|
inline |
Connecting the Signal with an input signal. Calls caller and receiver bind methods.
receiver | The input signal to connect with. |
|
inlinevirtual |
Set the value and call updates on all receivern.
Reimplemented from sr_signal::signal_out_if< TYPE >.
|
inlinevirtual |
Sets the value from another signal.
Reimplemented from sr_signal::signal_out_if< TYPE >.
|
inlinevirtual |
Write the value of a signal. Stores the value and triggers an update in all receivers.
value | The new value of the signal. |
time | The delay from sc_timestamp() at propagation. |
Implements sr_signal::signal_out_if< TYPE >.
Referenced by usi.shell.console.Console::interact(), and sr_signal::signal_out< bool, Irqmp >::operator=().
|
protected |
List of receivers.
Referenced by sr_signal::signal_out< bool, Irqmp >::bind(), and sr_signal::signal_out< bool, Irqmp >::write().