#include <rc_semaphore_filter.h>
Definition at line 47 of file rc_semaphore_filter.h.
Public Member Functions | |
rc_semaphore_filter (rc_transaction_counter &tc, bool tc_zero_saturated=true) | |
virtual int | wait () |
virtual int | trywait () |
virtual int | post () |
virtual int | get_value () const |
Protected Attributes | |
rc_transaction_counter & | m_tc |
int | m_post_count |
bool | m_zero_saturated |
Private Types | |
typedef rc_abstract_filter < sc_semaphore_if > | base_type |
typedef rc_semaphore_filter | this_type |
Private Member Functions | |
rc_semaphore_filter (const this_type &other_) | |
this_type & | operator= (const this_type &other_) |
typedef rc_abstract_filter<sc_semaphore_if> base_type [private] |
Reimplemented from rc_abstract_accessor< sc_semaphore_if >.
Definition at line 52 of file rc_semaphore_filter.h.
typedef rc_semaphore_filter this_type [private] |
Reimplemented from rc_abstract_filter< sc_semaphore_if >.
Definition at line 53 of file rc_semaphore_filter.h.
rc_semaphore_filter | ( | rc_transaction_counter & | tc, | |
bool | tc_zero_saturated = true | |||
) | [inline] |
Definition at line 56 of file rc_semaphore_filter.h.
rc_semaphore_filter | ( | const this_type & | other_ | ) | [private] |
virtual int wait | ( | ) | [inline, virtual] |
virtual int trywait | ( | ) | [inline, virtual] |
Definition at line 71 of file rc_semaphore_filter.h.
virtual int post | ( | ) | [inline, virtual] |
Definition at line 83 of file rc_semaphore_filter.h.
virtual int get_value | ( | ) | const [inline, virtual] |
Definition at line 93 of file rc_semaphore_filter.h.
rc_transaction_counter& m_tc [protected] |
Definition at line 100 of file rc_semaphore_filter.h.
Referenced by rc_semaphore_filter::post(), rc_semaphore_filter::trywait(), and rc_semaphore_filter::wait().
int m_post_count [protected] |
Definition at line 101 of file rc_semaphore_filter.h.
Referenced by rc_semaphore_filter::post(), rc_semaphore_filter::trywait(), and rc_semaphore_filter::wait().
bool m_zero_saturated [protected] |
Definition at line 102 of file rc_semaphore_filter.h.
Referenced by rc_semaphore_filter::post(), rc_semaphore_filter::trywait(), and rc_semaphore_filter::wait().