scc 2025.09
SystemC components library
scc::sc_owning_signal< T, POL > Class Template Reference

sc_signal which takes ownership of the data (acquire()/release()) More...

#include <sc_owning_signal.h>

Inheritance diagram for scc::sc_owning_signal< T, POL >:
Collaboration diagram for scc::sc_owning_signal< T, POL >:

Public Member Functions

 sc_owning_signal (const char *name_)
 sc_owning_signal (const char *name_, T *initial_value_)
void write (const type &value_) override
void clear ()

Protected Types

using policy_type = sc_core::sc_writer_policy_check<POL>
using super = sc_core::sc_signal<T*, POL>
using type = T*

Protected Member Functions

void update () override

Detailed Description

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
class scc::sc_owning_signal< T, POL >

sc_signal which takes ownership of the data (acquire()/release())

Template Parameters
T
POL

Definition at line 35 of file sc_owning_signal.h.

Member Typedef Documentation

◆ policy_type

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
using scc::sc_owning_signal< T, POL >::policy_type = sc_core::sc_writer_policy_check<POL>
protected

Definition at line 37 of file sc_owning_signal.h.

◆ super

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
using scc::sc_owning_signal< T, POL >::super = sc_core::sc_signal<T*, POL>
protected

Definition at line 38 of file sc_owning_signal.h.

◆ type

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
using scc::sc_owning_signal< T, POL >::type = T*
protected

Definition at line 39 of file sc_owning_signal.h.

Constructor & Destructor Documentation

◆ sc_owning_signal() [1/3]

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
scc::sc_owning_signal< T, POL >::sc_owning_signal ( )
inline

Definition at line 42 of file sc_owning_signal.h.

◆ sc_owning_signal() [2/3]

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
scc::sc_owning_signal< T, POL >::sc_owning_signal ( const char * name_)
inlineexplicit

Definition at line 45 of file sc_owning_signal.h.

◆ sc_owning_signal() [3/3]

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
scc::sc_owning_signal< T, POL >::sc_owning_signal ( const char * name_,
T * initial_value_ )
inline

Definition at line 48 of file sc_owning_signal.h.

◆ ~sc_owning_signal()

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
virtual scc::sc_owning_signal< T, POL >::~sc_owning_signal ( )
inlinevirtual

Definition at line 51 of file sc_owning_signal.h.

Member Function Documentation

◆ clear()

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
void scc::sc_owning_signal< T, POL >::clear ( )
inline

Definition at line 69 of file sc_owning_signal.h.

◆ update()

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
void scc::sc_owning_signal< T, POL >::update ( )
inlineoverrideprotected

Definition at line 78 of file sc_owning_signal.h.

◆ write()

template<class T, sc_core::sc_writer_policy POL = sc_core::SC_ONE_WRITER>
void scc::sc_owning_signal< T, POL >::write ( const type & value_)
inlineoverride

Definition at line 54 of file sc_owning_signal.h.


The documentation for this class was generated from the following file: