SystemC  Recoding Infrastructure for SystemC v0.6.3 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_semaphore_if Class Referenceabstract

The sc_semaphore_if interface class. More...

#include <sysc/communication/sc_semaphore_if.h>

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

Public Member Functions

virtual int wait (int)=0
 A new parameter segment ID is added for the out-of-order simulation. More...
 
virtual int trywait ()=0
 
virtual int post ()=0
 
virtual int get_value () const =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_semaphore_if ()
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 

Detailed Description

The sc_semaphore_if interface class.

Definition at line 40 of file sc_semaphore_if.h.

Constructor & Destructor Documentation

sc_core::sc_semaphore_if::sc_semaphore_if ( )
inlineprotected

Definition at line 69 of file sc_semaphore_if.h.

Member Function Documentation

virtual int sc_core::sc_semaphore_if::get_value ( ) const
pure virtual

Implemented in sc_core::sc_semaphore.

virtual int sc_core::sc_semaphore_if::post ( )
pure virtual

Implemented in sc_core::sc_semaphore.

virtual int sc_core::sc_semaphore_if::trywait ( )
pure virtual

Implemented in sc_core::sc_semaphore.

virtual int sc_core::sc_semaphore_if::wait ( int  )
pure virtual

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

Implemented in sc_core::sc_semaphore.


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