sc_core::sc_semaphore_if Class Reference

#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]

List of all members.

Public Member Functions

virtual int wait ()=0
virtual int trywait ()=0
virtual int post ()=0
virtual int get_value () const =0
virtual void register_port (sc_port_base &port_, const char *if_typename_)
 register a port with this interface (does nothing by default); define this for static design rule checking
virtual const sc_eventdefault_event () const
 get the default event (default: return event that is never notified)

Protected Member Functions

 sc_semaphore_if ()


Detailed Description

Definition at line 62 of file sc_semaphore_if.h.


Constructor & Destructor Documentation

sc_core::sc_semaphore_if::sc_semaphore_if (  )  [inline, protected]

Definition at line 85 of file sc_semaphore_if.h.


Member Function Documentation

virtual int sc_core::sc_semaphore_if::wait (  )  [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::post (  )  [pure virtual]

Implemented in sc_core::sc_semaphore.

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

Implemented in sc_core::sc_semaphore.

void sc_core::sc_interface::register_port ( sc_port_base port_,
const char *  if_typename_ 
) [virtual, inherited]

register a port with this interface (does nothing by default); define this for static design rule checking

Reimplemented in sc_core::sc_clock, sc_core::sc_fifo< T >, sc_core::sc_signal< T >, sc_core::sc_core::sc_signal< bool >, sc_core::sc_core::sc_signal< sc_dt::sc_logic >, sc_core::sc_signal_resolved, sc_core::sc_signal_rv< W >, and sc_core::sc_signal< sc_dt::sc_lv< W > >.

Definition at line 62 of file sc_interface.cpp.

const sc_event & sc_core::sc_interface::default_event (  )  const [virtual, inherited]

get the default event (default: return event that is never notified)

Reimplemented in sc_core::sc_event_queue, sc_core::sc_signal< T >, sc_core::sc_core::sc_signal< bool >, sc_core::sc_core::sc_signal< sc_dt::sc_logic >, and sc_core::sc_signal< sc_dt::sc_lv< W > >.

Definition at line 69 of file sc_interface.cpp.


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

Generated on Wed Jan 21 15:32:13 2009 for SystemC by  doxygen 1.5.5