rc_semaphore_filter Class Reference

#include <rc_semaphore_filter.h>

Inheritance diagram for rc_semaphore_filter:

rc_abstract_filter< sc_semaphore_if > rc_accessor< sc_semaphore_if > sc_semaphore_if rc_abstract_accessor< sc_semaphore_if > rc_abstract_accessor_b rc_interface_wrapper::accessor rc_interface_wrapper_base::accessor_base rc_interface_wrapper_base::accessor_base rc_interface_filter rc_event_filter rc_interface_filter rc_event_filter

List of all members.


Detailed Description

Predefined semaphore filter.

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_counterm_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_typeoperator= (const this_type &other_)

Member Typedef Documentation

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.


Constructor & Destructor Documentation

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]


Member Function Documentation

virtual int wait (  )  [inline, virtual]

Reimplemented from rc_abstract_accessor_b.

Definition at line 61 of file rc_semaphore_filter.h.

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.

this_type& operator= ( const this_type other_  )  [private]


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on Tue Jan 1 23:14:10 2008 for ReChannel by  doxygen 1.5.3