The sc_semaphore primitive channel class.
More...
#include <sysc/communication/sc_semaphore.h>
The sc_semaphore primitive channel class.
Definition at line 49 of file sc_semaphore.h.
◆ phase_cb_mask
◆ sc_semaphore() [1/2]
sc_core::sc_semaphore::sc_semaphore |
( |
int |
init_value_ | ) |
|
|
explicit |
◆ sc_semaphore() [2/2]
sc_core::sc_semaphore::sc_semaphore |
( |
const char * |
name_, |
|
|
int |
init_value_ |
|
) |
| |
◆ add_attribute()
◆ add_child_event()
virtual void sc_core::sc_object::add_child_event |
( |
sc_event * |
event_p | ) |
|
|
protectedvirtualinherited |
◆ add_child_object()
virtual void sc_core::sc_object::add_child_object |
( |
sc_object * |
object_p | ) |
|
|
protectedvirtualinherited |
◆ attr_cltn() [1/2]
◆ attr_cltn() [2/2]
◆ basename()
const char* sc_core::sc_object::basename |
( |
| ) |
const |
|
inherited |
◆ default_event()
virtual const sc_event& sc_core::sc_interface::default_event |
( |
| ) |
const |
|
virtualinherited |
◆ dump()
virtual void sc_core::sc_object::dump |
( |
::std::ostream & |
os = ::std::cout | ) |
const |
|
virtualinherited |
◆ get_attribute() [1/2]
sc_attr_base* sc_core::sc_object::get_attribute |
( |
const std::string & |
name_ | ) |
|
|
inherited |
◆ get_attribute() [2/2]
const sc_attr_base* sc_core::sc_object::get_attribute |
( |
const std::string & |
name_ | ) |
const |
|
inherited |
◆ get_child_events()
virtual const std::vector<sc_event*>& sc_core::sc_object::get_child_events |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ get_child_objects()
virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ get_parent()
sc_object* sc_core::sc_object::get_parent |
( |
| ) |
const |
|
inherited |
◆ get_parent_object()
sc_object* sc_core::sc_object::get_parent_object |
( |
| ) |
const |
|
inlineinherited |
◆ get_value()
virtual int sc_core::sc_semaphore::get_value |
( |
| ) |
const |
|
inlinevirtual |
◆ in_use()
bool sc_core::sc_semaphore::in_use |
( |
| ) |
const |
|
inlineprotected |
◆ kind()
virtual const char* sc_core::sc_semaphore::kind |
( |
| ) |
const |
|
inlinevirtual |
◆ name()
const char* sc_core::sc_object::name |
( |
| ) |
const |
|
inlineinherited |
◆ num_attributes()
int sc_core::sc_object::num_attributes |
( |
| ) |
const |
|
inherited |
◆ post()
virtual int sc_core::sc_semaphore::post |
( |
| ) |
|
|
virtual |
◆ print()
virtual void sc_core::sc_object::print |
( |
::std::ostream & |
os = ::std::cout | ) |
const |
|
virtualinherited |
◆ register_port()
virtual void sc_core::sc_interface::register_port |
( |
sc_port_base & |
port_, |
|
|
const char * |
if_typename_ |
|
) |
| |
|
virtualinherited |
◆ register_simulation_phase_callback()
◆ remove_all_attributes()
void sc_core::sc_object::remove_all_attributes |
( |
| ) |
|
|
inherited |
◆ remove_attribute()
sc_attr_base* sc_core::sc_object::remove_attribute |
( |
const std::string & |
name_ | ) |
|
|
inherited |
◆ remove_child_event()
virtual bool sc_core::sc_object::remove_child_event |
( |
sc_event * |
event_p | ) |
|
|
protectedvirtualinherited |
◆ remove_child_object()
virtual bool sc_core::sc_object::remove_child_object |
( |
sc_object * |
object_p | ) |
|
|
protectedvirtualinherited |
◆ report_error()
void sc_core::sc_semaphore::report_error |
( |
const char * |
id, |
|
|
const char * |
add_msg = 0 |
|
) |
| const |
|
protected |
◆ simcontext()
◆ trace()
virtual void sc_core::sc_object::trace |
( |
sc_trace_file * |
tf | ) |
const |
|
virtualinherited |
◆ trywait()
virtual int sc_core::sc_semaphore::trywait |
( |
| ) |
|
|
virtual |
◆ unregister_simulation_phase_callback()
◆ wait()
virtual int sc_core::sc_semaphore::wait |
( |
| ) |
|
|
virtual |
◆ m_free
◆ m_value
int sc_core::sc_semaphore::m_value |
|
protected |
The documentation for this class was generated from the following file: