sc_core::sc_thread_process Class Reference

#include <sc_process_int.h>

Inheritance diagram for sc_core::sc_thread_process:

sc_core::sc_process_b sc_core::sc_object sc_core::sc_cthread_process List of all members.

Public Member Functions

virtual const char * kind () const
void add_monitor (sc_process_monitor *monitor_p)
void remove_monitor (sc_process_monitor *monitor_p)
void signal_monitors (int type=0)

Protected Member Functions

 sc_thread_process (const char *nm, SC_ENTRY_FUNC fn, sc_process_host *host)
virtual ~sc_thread_process ()
void set_stack_size (size_t size)
virtual void prepare_for_simulation ()
virtual bool ready_to_run ()
void wait (const sc_event &)
void wait (sc_event_or_list &)
void wait (sc_event_and_list &)
void wait (const sc_time &)
void wait (const sc_time &, const sc_event &)
void wait (const sc_time &, sc_event_or_list &)
void wait (const sc_time &, sc_event_and_list &)
bool trigger_dynamic (sc_event *)
void set_next_exist (sc_thread_handle next_p)
sc_thread_handle next_exist ()
void set_next_runnable (sc_thread_handle next_p)
sc_thread_handle next_runnable ()

Protected Attributes

size_t m_stack_size
sc_corm_cor
sc_pvector< sc_process_monitor * > m_monitor_q

Friends

class ::pinapa::simcontext
class sc_event
class sc_module
class sc_process_table
class sc_simcontext
class sc_runnable
void wait (const sc_event &, sc_simcontext *)
void wait (sc_event_or_list &, sc_simcontext *)
void wait (sc_event_and_list &, sc_simcontext *)
void wait (const sc_time &, sc_simcontext *)
void wait (const sc_time &, const sc_event &, sc_simcontext *)
void wait (const sc_time &, sc_event_or_list &, sc_simcontext *)
void wait (const sc_time &, sc_event_and_list &, sc_simcontext *)
void sc_thread_cor_fn (void *)
void sc_cthread_cor_fn (void *)
void sc_set_stack_size (sc_thread_handle, size_t)

Constructor & Destructor Documentation

sc_core::sc_thread_process::sc_thread_process ( const char *  nm,
SC_ENTRY_FUNC  fn,
sc_process_host host 
) [protected]

sc_core::sc_thread_process::~sc_thread_process (  )  [protected, virtual]


Member Function Documentation

virtual const char* sc_core::sc_thread_process::kind (  )  const [inline, virtual]

Reimplemented from sc_core::sc_process_b.

Reimplemented in sc_core::sc_cthread_process.

void sc_core::sc_thread_process::add_monitor ( sc_process_monitor monitor_p  )  [inline]

void sc_core::sc_thread_process::remove_monitor ( sc_process_monitor monitor_p  )  [inline]

void sc_core::sc_thread_process::signal_monitors ( int  type = 0  ) 

void sc_core::sc_thread_process::set_stack_size ( size_t  size  )  [protected]

void sc_core::sc_thread_process::prepare_for_simulation (  )  [protected, virtual]

Reimplemented in sc_core::sc_cthread_process.

bool sc_core::sc_thread_process::ready_to_run (  )  [inline, protected, virtual]

Reimplemented in sc_core::sc_cthread_process.

void sc_core::sc_thread_process::wait ( const sc_event  )  [inline, protected]

void sc_core::sc_thread_process::wait ( sc_event_or_list  )  [inline, protected]

void sc_core::sc_thread_process::wait ( sc_event_and_list  )  [inline, protected]

void sc_core::sc_thread_process::wait ( const sc_time  )  [inline, protected]

void sc_core::sc_thread_process::wait ( const sc_time ,
const sc_event  
) [inline, protected]

void sc_core::sc_thread_process::wait ( const sc_time ,
sc_event_or_list  
) [inline, protected]

void sc_core::sc_thread_process::wait ( const sc_time ,
sc_event_and_list  
) [inline, protected]

bool sc_core::sc_thread_process::trigger_dynamic ( sc_event  )  [protected]

void sc_core::sc_thread_process::set_next_exist ( sc_thread_handle  next_p  )  [inline, protected]

sc_thread_handle sc_core::sc_thread_process::next_exist (  )  [inline, protected]

Reimplemented in sc_core::sc_cthread_process.

void sc_core::sc_thread_process::set_next_runnable ( sc_thread_handle  next_p  )  [inline, protected]

sc_thread_handle sc_core::sc_thread_process::next_runnable (  )  [inline, protected]


Friends And Related Function Documentation

friend class ::pinapa::simcontext [friend]

Reimplemented from sc_core::sc_object.

friend class sc_event [friend]

friend class sc_module [friend]

Reimplemented from sc_core::sc_process_b.

Reimplemented in sc_core::sc_cthread_process.

friend class sc_process_table [friend]

Reimplemented in sc_core::sc_cthread_process.

friend class sc_simcontext [friend]

Reimplemented in sc_core::sc_cthread_process.

friend class sc_runnable [friend]

Reimplemented from sc_core::sc_process_b.

void wait ( const sc_event e,
sc_simcontext simc = sc_get_curr_simcontext() 
) [friend]

Reimplemented in sc_core::sc_cthread_process.

void wait ( sc_event_or_list el,
sc_simcontext simc = sc_get_curr_simcontext() 
) [friend]

Reimplemented in sc_core::sc_cthread_process.

void wait ( sc_event_and_list el,
sc_simcontext simc = sc_get_curr_simcontext() 
) [friend]

Reimplemented in sc_core::sc_cthread_process.

void wait ( const sc_time t,
sc_simcontext simc = sc_get_curr_simcontext() 
) [friend]

Reimplemented in sc_core::sc_cthread_process.

void wait ( const sc_time t,
const sc_event e,
sc_simcontext simc = sc_get_curr_simcontext() 
) [friend]

Reimplemented in sc_core::sc_cthread_process.

void wait ( const sc_time t,
sc_event_or_list el,
sc_simcontext simc = sc_get_curr_simcontext() 
) [friend]

Reimplemented in sc_core::sc_cthread_process.

void wait ( const sc_time t,
sc_event_and_list el,
sc_simcontext simc = sc_get_curr_simcontext() 
) [friend]

Reimplemented in sc_core::sc_cthread_process.

void sc_thread_cor_fn ( void *  arg  )  [friend]

void sc_cthread_cor_fn ( void *  arg  )  [friend]

Reimplemented in sc_core::sc_cthread_process.

void sc_set_stack_size ( sc_thread_handle  ,
size_t   
) [friend]


Member Data Documentation

size_t sc_core::sc_thread_process::m_stack_size [protected]

sc_cor* sc_core::sc_thread_process::m_cor [protected]

sc_pvector<sc_process_monitor*> sc_core::sc_thread_process::m_monitor_q [protected]


The documentation for this class was generated from the following files:
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page