#include <sc_semaphore.h>
Public メソッド | |
sc_semaphore (int init_value_) | |
sc_semaphore (const char *name_, int init_value_) | |
virtual int | wait () |
virtual int | trywait () |
virtual int | post () |
virtual int | get_value () const |
virtual const char * | kind () const |
Protected メソッド | |
bool | in_use () const |
void | report_error (const char *id, const char *add_msg=0) const |
Protected 変数 | |
int | m_value |
sc_event | m_free |
Private メソッド | |
sc_semaphore (const sc_semaphore &) | |
sc_semaphore & | operator= (const sc_semaphore &) |
sc_core::sc_semaphore::sc_semaphore | ( | int | init_value_ | ) | [explicit] |
sc_core::sc_semaphore::sc_semaphore | ( | const char * | name_, | |
int | init_value_ | |||
) |
sc_core::sc_semaphore::sc_semaphore | ( | const sc_semaphore & | ) | [private] |
int sc_core::sc_semaphore::wait | ( | ) | [virtual] |
sc_core::sc_prim_channelを再定義しています。
int sc_core::sc_semaphore::trywait | ( | ) | [virtual] |
sc_core::sc_semaphore_ifを実装しています。
int sc_core::sc_semaphore::post | ( | ) | [virtual] |
sc_core::sc_semaphore_ifを実装しています。
virtual int sc_core::sc_semaphore::get_value | ( | ) | const [inline, virtual] |
sc_core::sc_semaphore_ifを実装しています。
virtual const char* sc_core::sc_semaphore::kind | ( | ) | const [inline, virtual] |
sc_core::sc_prim_channelを再定義しています。
bool sc_core::sc_semaphore::in_use | ( | ) | const [inline, protected] |
void sc_core::sc_semaphore::report_error | ( | const char * | id, | |
const char * | add_msg = 0 | |||
) | const [protected] |
sc_semaphore& sc_core::sc_semaphore::operator= | ( | const sc_semaphore & | ) | [private] |
int sc_core::sc_semaphore::m_value [protected] |
sc_event sc_core::sc_semaphore::m_free [protected] |