sc_core::sc_method_process Class Reference

A method process. More...

#include <sysc/kernel/sc_method_process.h>

Inheritance diagram for sc_core::sc_method_process:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_method_process:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_method_process (const char *name_p, bool free_host, SC_ENTRY_FUNC method_p, sc_process_host *host_p, const sc_spawn_options *opt_p)
virtual const char * kind () const

Protected Member Functions

void check_for_throws ()
virtual void disable_process (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
virtual void enable_process (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
bool run_process ()
virtual void kill_process (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
sc_method_handle next_exist ()
sc_method_handle next_runnable ()
virtual void prepare_for_simulation ()
 Create a coroutine for this method process.
void clear_trigger (int)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event &, int)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event_or_list &, int)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event_and_list &, int)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, int)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, const sc_event &, int)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, const sc_event_or_list &, int)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, const sc_event_and_list &, int)
 A new parameter segment ID is added for the out-of-order simulation.
virtual void resume_process (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
void set_next_exist (sc_method_handle next_p)
void set_next_runnable (sc_method_handle next_p)
void set_stack_size (std::size_t size)
 Set the stack size of this method process.
virtual void suspend_process (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
virtual void throw_reset (bool async)
virtual void throw_user (const sc_throw_it_helper &helper, sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
bool trigger_dynamic (sc_event *)
void trigger_static (sc_event *)
 A new parameter is added to update the local time stamp in the method process.

Protected Attributes

sc_corm_cor_p
std::size_t m_stack_size
std::vector< sc_process_monitor * > m_monitor_q

Friends

struct sc_invoke_method
class sc_event
class sc_module
class sc_channel
class sc_process_table
class sc_process_handle
class sc_simcontext
class sc_runnable
void sc_method_cor_fn (void *)
void sc_cmethod_cor_fn (void *)
void sc_set_stack_size (sc_method_handle, std::size_t)
sc_corget_cor_pointer (sc_process_b *process_p)
void next_trigger (int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event &, int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event_or_list &, int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_event_and_list &, int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, const sc_event &, int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, const sc_event_or_list &, int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.
void next_trigger (const sc_time &, const sc_event_and_list &, int, sc_simcontext *)
 A new parameter segment ID is added for the out-of-order simulation.

Detailed Description

A method process.

Definition at line 104 of file sc_method_process.h.


Constructor & Destructor Documentation

sc_core::sc_method_process::sc_method_process ( const char *  name_p,
bool  free_host,
SC_ENTRY_FUNC  method_p,
sc_process_host host_p,
const sc_spawn_options opt_p 
)

Member Function Documentation

void sc_core::sc_method_process::check_for_throws (  )  [protected]
void sc_core::sc_method_process::clear_trigger ( int   )  [protected]

A new parameter segment ID is added for the out-of-order simulation.

virtual void sc_core::sc_method_process::disable_process ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS  )  [protected, virtual]

Implements sc_core::sc_process_b.

virtual void sc_core::sc_method_process::enable_process ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS  )  [protected, virtual]

Implements sc_core::sc_process_b.

virtual void sc_core::sc_method_process::kill_process ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS  )  [protected, virtual]

Implements sc_core::sc_process_b.

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

Reimplemented from sc_core::sc_object.

Definition at line 145 of file sc_method_process.h.

sc_method_handle sc_core::sc_method_process::next_exist (  )  [inline, protected]

Definition at line 438 of file sc_method_process.h.

sc_method_handle sc_core::sc_method_process::next_runnable (  )  [inline, protected]

Definition at line 451 of file sc_method_process.h.

void sc_core::sc_method_process::next_trigger ( const sc_time t,
const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 412 of file sc_method_process.h.

void sc_core::sc_method_process::next_trigger ( const sc_time t,
const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 392 of file sc_method_process.h.

void sc_core::sc_method_process::next_trigger ( const sc_time t,
const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 372 of file sc_method_process.h.

void sc_core::sc_method_process::next_trigger ( const sc_time t,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 355 of file sc_method_process.h.

void sc_core::sc_method_process::next_trigger ( const sc_event_and_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 337 of file sc_method_process.h.

void sc_core::sc_method_process::next_trigger ( const sc_event_or_list el,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 320 of file sc_method_process.h.

void sc_core::sc_method_process::next_trigger ( const sc_event e,
int  seg_id 
) [inline, protected]

A new parameter segment ID is added for the out-of-order simulation.

Definition at line 303 of file sc_method_process.h.

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

Create a coroutine for this method process.

virtual void sc_core::sc_method_process::resume_process ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS  )  [protected, virtual]

Implements sc_core::sc_process_b.

bool sc_core::sc_method_process::run_process (  )  [inline, protected]

Definition at line 463 of file sc_method_process.h.

void sc_core::sc_method_process::set_next_exist ( sc_method_handle  next_p  )  [inline, protected]

Definition at line 432 of file sc_method_process.h.

void sc_core::sc_method_process::set_next_runnable ( sc_method_handle  next_p  )  [inline, protected]

Definition at line 445 of file sc_method_process.h.

void sc_core::sc_method_process::set_stack_size ( std::size_t  size  )  [inline, protected]

Set the stack size of this method process.

Definition at line 268 of file sc_method_process.h.

virtual void sc_core::sc_method_process::suspend_process ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS  )  [protected, virtual]

Implements sc_core::sc_process_b.

virtual void sc_core::sc_method_process::throw_reset ( bool  async  )  [protected, virtual]

Implements sc_core::sc_process_b.

virtual void sc_core::sc_method_process::throw_user ( const sc_throw_it_helper helper,
sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS 
) [protected, virtual]

Implements sc_core::sc_process_b.

bool sc_core::sc_method_process::trigger_dynamic ( sc_event  )  [protected]
void sc_core::sc_method_process::trigger_static ( sc_event e  )  [inline, protected]

A new parameter is added to update the local time stamp in the method process.

Definition at line 510 of file sc_method_process.h.


Friends And Related Function Documentation

sc_cor* get_cor_pointer ( sc_process_b process_p  )  [friend]
void next_trigger ( const sc_time ,
const sc_event_and_list ,
int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

void next_trigger ( const sc_time ,
const sc_event_or_list ,
int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

void next_trigger ( const sc_time ,
const sc_event ,
int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

void next_trigger ( const sc_time ,
int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

void next_trigger ( const sc_event_and_list ,
int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

void next_trigger ( const sc_event_or_list ,
int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

void next_trigger ( const sc_event ,
int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

void next_trigger ( int  ,
sc_simcontext  
) [friend]

A new parameter segment ID is added for the out-of-order simulation.

friend class sc_channel [friend]

Reimplemented from sc_core::sc_process_b.

Definition at line 113 of file sc_method_process.h.

void sc_cmethod_cor_fn ( void *   )  [friend]
friend class sc_event [friend]

Reimplemented from sc_core::sc_object.

Definition at line 109 of file sc_method_process.h.

friend struct sc_invoke_method [friend]

Reimplemented from sc_core::sc_object.

Definition at line 105 of file sc_method_process.h.

void sc_method_cor_fn ( void *   )  [friend]
friend class sc_module [friend]

Reimplemented from sc_core::sc_process_b.

Definition at line 110 of file sc_method_process.h.

friend class sc_process_handle [friend]

Reimplemented from sc_core::sc_process_b.

Definition at line 116 of file sc_method_process.h.

friend class sc_process_table [friend]

Definition at line 115 of file sc_method_process.h.

friend class sc_runnable [friend]

Reimplemented from sc_core::sc_process_b.

Definition at line 118 of file sc_method_process.h.

void sc_set_stack_size ( sc_method_handle  ,
std::size_t   
) [friend]
friend class sc_simcontext [friend]

Reimplemented from sc_core::sc_process_b.

Definition at line 117 of file sc_method_process.h.


Member Data Documentation

Definition at line 249 of file sc_method_process.h.

Definition at line 251 of file sc_method_process.h.

Definition at line 250 of file sc_method_process.h.


The documentation for this class was generated from the following file:

Generated on 29 Oct 2015 for SystemC by  doxygen 1.6.1