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

#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 ()=0
 
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

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 63 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 ( )
pure virtual

Implemented in sc_core::sc_semaphore.


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