SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Member Functions | List of all members
sc_core::sc_mutex_if Class Referenceabstract

The sc_mutex_if interface class. More...

#include <sysc/communication/sc_mutex_if.h>

Inheritance diagram for sc_core::sc_mutex_if:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_mutex_if:
Collaboration graph
[legend]

Public Member Functions

virtual int lock (int)=0
 A new parameter segment ID is added for the out-of-order simulation. More...
 
virtual int trylock ()=0
 
virtual int unlock ()=0
 
- Public Member Functions inherited from sc_core::sc_interface
virtual void register_port (sc_port_base &port_, const char *if_typename_)
 
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Protected Member Functions

 sc_mutex_if ()
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 

Detailed Description

The sc_mutex_if interface class.

Definition at line 40 of file sc_mutex_if.h.

Constructor & Destructor Documentation

sc_core::sc_mutex_if::sc_mutex_if ( )
inlineprotected

Definition at line 66 of file sc_mutex_if.h.

Member Function Documentation

virtual int sc_core::sc_mutex_if::lock ( int  )
pure virtual

A new parameter segment ID is added for the out-of-order simulation.

Implemented in sc_core::sc_host_mutex, and sc_core::sc_mutex.

virtual int sc_core::sc_mutex_if::trylock ( )
pure virtual
virtual int sc_core::sc_mutex_if::unlock ( )
pure virtual

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