gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0