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 434 of file sc_runnable_int.h.

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

Definition at line 444 of file sc_runnable_int.h.


Member Function Documentation

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

Definition at line 78 of file sc_runnable_int.h.

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

Definition at line 104 of file sc_runnable_int.h.

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

Definition at line 118 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 513 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 490 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 559 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 536 of file sc_runnable_int.h.

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

Definition at line 132 of file sc_runnable_int.h.

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

Definition at line 163 of file sc_runnable_int.h.

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

Definition at line 177 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 525 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 502 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 571 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 548 of file sc_runnable_int.h.

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

Definition at line 272 of file sc_runnable_int.h.

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

Definition at line 297 of file sc_runnable_int.h.

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

Definition at line 190 of file sc_runnable_int.h.

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

Definition at line 207 of file sc_runnable_int.h.

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

Definition at line 225 of file sc_runnable_int.h.

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

Definition at line 250 of file sc_runnable_int.h.

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

Definition at line 324 of file sc_runnable_int.h.

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

Definition at line 381 of file sc_runnable_int.h.

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

Definition at line 457 of file sc_runnable_int.h.

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

Definition at line 474 of file sc_runnable_int.h.


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

Generated on 30 Sep 2016 for SystemC by  doxygen 1.6.1