sc_core::sc_runnable Class Reference

Class that manages the ready-to-run queues. More...

#include <sysc/kernel/sc_runnable.h>

Collaboration diagram for sc_core::sc_runnable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_runnable ()
 ~sc_runnable ()
void init ()
void toggle_methods ()
void toggle_threads ()
void remove_method (sc_method_handle)
void remove_thread (sc_thread_handle)
void execute_method_next (sc_method_handle)
void execute_thread_next (sc_thread_handle)
void push_back_method (sc_method_handle)
void push_back_thread (sc_thread_handle)
void push_front_method (sc_method_handle)
void push_front_thread (sc_thread_handle)
bool is_initialized () const
bool is_empty () const
sc_method_handle pop_method ()
sc_thread_handle pop_thread ()
sc_method_handle get_methods_push_first ()
 Return the first method of methods push queue.
bool is_methods_push_end (sc_method_handle)
 Check whether it is the end of methods push queue.
sc_method_handle get_methods_pop_first ()
 Return the first method of methods pop queue.
bool is_methods_pop_end (sc_method_handle)
 Check whether it is the end of methods pop queue.
sc_thread_handle get_threads_push_first ()
 Return the first thread of threads push queue.
bool is_threads_push_end (sc_thread_handle)
 Check whether it is the end of threads push queue.
sc_thread_handle get_threads_pop_first ()
 Return the first thread of threads pop queue.
bool is_threads_pop_end (sc_thread_handle)
 Check whether it is the end of threads pop queue.
void dump () const

Detailed Description

Class that manages the ready-to-run queues.

Definition at line 42 of file sc_runnable.h.


Constructor & Destructor Documentation

sc_core::sc_runnable::sc_runnable (  )  [inline]

Definition at line 453 of file sc_runnable_int.h.

sc_core::sc_runnable::~sc_runnable (  )  [inline]

Definition at line 463 of file sc_runnable_int.h.


Member Function Documentation

void sc_core::sc_runnable::dump (  )  const [inline]

Definition at line 81 of file sc_runnable_int.h.

void sc_core::sc_runnable::execute_method_next ( sc_method_handle  method_h  )  [inline]

Definition at line 107 of file sc_runnable_int.h.

void sc_core::sc_runnable::execute_thread_next ( sc_thread_handle  thread_h  )  [inline]

Definition at line 121 of file sc_runnable_int.h.

sc_method_handle sc_core::sc_runnable::get_methods_pop_first (  )  [inline]

Return the first method of methods pop queue.

Definition at line 532 of file sc_runnable_int.h.

sc_method_handle sc_core::sc_runnable::get_methods_push_first (  )  [inline]

Return the first method of methods push queue.

Definition at line 509 of file sc_runnable_int.h.

sc_thread_handle sc_core::sc_runnable::get_threads_pop_first (  )  [inline]

Return the first thread of threads pop queue.

Definition at line 578 of file sc_runnable_int.h.

sc_thread_handle sc_core::sc_runnable::get_threads_push_first (  )  [inline]

Return the first thread of threads push queue.

Definition at line 555 of file sc_runnable_int.h.

void sc_core::sc_runnable::init (  )  [inline]

Definition at line 135 of file sc_runnable_int.h.

bool sc_core::sc_runnable::is_empty (  )  const [inline]

Definition at line 166 of file sc_runnable_int.h.

bool sc_core::sc_runnable::is_initialized (  )  const [inline]

Definition at line 180 of file sc_runnable_int.h.

bool sc_core::sc_runnable::is_methods_pop_end ( sc_method_handle  method_h  )  [inline]

Check whether it is the end of methods pop queue.

Definition at line 544 of file sc_runnable_int.h.

bool sc_core::sc_runnable::is_methods_push_end ( sc_method_handle  method_h  )  [inline]

Check whether it is the end of methods push queue.

Definition at line 521 of file sc_runnable_int.h.

bool sc_core::sc_runnable::is_threads_pop_end ( sc_thread_handle  thread_h  )  [inline]

Check whether it is the end of threads pop queue.

Definition at line 590 of file sc_runnable_int.h.

bool sc_core::sc_runnable::is_threads_push_end ( sc_thread_handle  thread_h  )  [inline]

Check whether it is the end of threads push queue.

Definition at line 567 of file sc_runnable_int.h.

sc_method_handle sc_core::sc_runnable::pop_method (  )  [inline]

Definition at line 291 of file sc_runnable_int.h.

sc_thread_handle sc_core::sc_runnable::pop_thread (  )  [inline]

Definition at line 316 of file sc_runnable_int.h.

void sc_core::sc_runnable::push_back_method ( sc_method_handle  method_h  )  [inline]

Definition at line 193 of file sc_runnable_int.h.

void sc_core::sc_runnable::push_back_thread ( sc_thread_handle  thread_h  )  [inline]

Definition at line 214 of file sc_runnable_int.h.

void sc_core::sc_runnable::push_front_method ( sc_method_handle  method_h  )  [inline]

Definition at line 236 of file sc_runnable_int.h.

void sc_core::sc_runnable::push_front_thread ( sc_thread_handle  thread_h  )  [inline]

Definition at line 265 of file sc_runnable_int.h.

void sc_core::sc_runnable::remove_method ( sc_method_handle  remove_p  )  [inline]

Definition at line 343 of file sc_runnable_int.h.

void sc_core::sc_runnable::remove_thread ( sc_thread_handle  remove_p  )  [inline]

Definition at line 400 of file sc_runnable_int.h.

void sc_core::sc_runnable::toggle_methods (  )  [inline]

Definition at line 476 of file sc_runnable_int.h.

void sc_core::sc_runnable::toggle_threads (  )  [inline]

Definition at line 493 of file sc_runnable_int.h.


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

Generated on 31 Jul 2017 for SystemC by  doxygen 1.6.1