Selected Documentation for Messaging-Cells Library
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
kernel Class Reference

The kernel of a workeru that is using the library. More...

#include <cell.hh>

+ Collaboration diagram for kernel:

Public Member Functions

mc_inline_fn void set_idle_exit ()
 Tells the kernel to exit kernel::run_sys when no more work is pending or done (idle).
 

Static Public Member Functions

static void init_sys (bool is_the_manageru=false) mc_external_code_ram
 Static method that inits this workeru kernel.
 
static mc_opt_sz_fn void run_sys ()
 Static method that starts handling missive s. No missive s are handled before.
 
static void finish_sys () mc_external_code_ram
 Static method that finishes this workeru kernel.
 
static mc_inline_fn kernelget_sys ()
 Returns the kernel.
 
static mc_inline_fn mck_glb_sys_st & get_workeru_info ()
 Returns the workeru global info.
 
static mc_inline_fn mc_sys_sz_st & get_sys_sz ()
 Returns the system size structure.
 
static mc_inline_fn mc_workeru_nn_t get_workeru_nn ()
 Returns the workeru number.
 
static mc_inline_fn mc_workeru_co_t get_workeru_ro ()
 Returns the workeru row.
 
static mc_inline_fn mc_workeru_co_t get_workeru_co ()
 Returns the workeru column.
 
static mc_inline_fn mc_workeru_id_t get_workeru_id ()
 Returns the workeru id.
 
static mc_inline_fn mc_workeru_id_t get_parent_workeru_id ()
 Returns the parent workeru id.
 
static mc_inline_fn cellget_first_cell ()
 Returns this kernel first created cell.
 
static cellget_first_cell (mc_workeru_id_t dst_id)
 Returns the first_cell (see get_first_cell) of the workeru with id 'dst_id'.
 
static cellget_manageru_cell () mc_external_code_ram
 Returns the first_cell (see get_first_cell) of the manageru.
 
static void set_handlers (uint8_t tot_hdlrs, missive_handler_t *hdlrs) mc_external_code_ram
 This methods sets kernel::all_handlers to 'hdlrs' and it must have size 'tot_hdlrs'.
 

Public Attributes

mck_handler_idx_t tot_handlers
 kernel::all_handlers size.
 
missive_handler_tall_handlers
 Current array of missive handlers of cell s for this workeru.
 

Detailed Description

The kernel of a workeru that is using the library.

Every workeru must have one and only one kernel inited with kernel::init_sys.


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