gem5  v22.1.0.0
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
sc_core::sc_semaphore_if Class Referenceabstract

#include <sc_semaphore_if.hh>

Inheritance diagram for sc_core::sc_semaphore_if:
sc_core::sc_interface sc_core::sc_semaphore

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 &, const char *)
 
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 ()
 

Private Member Functions

 sc_semaphore_if (const sc_semaphore_if &)
 
sc_semaphore_ifoperator= (const sc_semaphore_if &)
 

Detailed Description

Definition at line 36 of file sc_semaphore_if.hh.

Constructor & Destructor Documentation

◆ sc_semaphore_if() [1/2]

sc_core::sc_semaphore_if::sc_semaphore_if ( )
inlineprotected

Definition at line 45 of file sc_semaphore_if.hh.

◆ sc_semaphore_if() [2/2]

sc_core::sc_semaphore_if::sc_semaphore_if ( const sc_semaphore_if )
inlineprivate

Definition at line 49 of file sc_semaphore_if.hh.

Member Function Documentation

◆ get_value()

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

Implemented in sc_core::sc_semaphore.

◆ operator=()

sc_semaphore_if& sc_core::sc_semaphore_if::operator= ( const sc_semaphore_if )
inlineprivate

Definition at line 50 of file sc_semaphore_if.hh.

◆ post()

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

Implemented in sc_core::sc_semaphore.

◆ trywait()

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

Implemented in sc_core::sc_semaphore.

◆ wait()

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:

Generated on Wed Dec 21 2022 10:25:07 for gem5 by doxygen 1.9.1