Selected Documentation for Messaging-Cells Library
Classes | Macros | Typedefs | Enumerations | Variables
cell.hh File Reference

The one and only include file necessarry to use the Messagging Cells library. More...

#include <new>
#include "dyn_mem.h"
#include "binder.hh"
#include "global.h"
+ Include dependency graph for cell.hh:
+ This graph shows which files directly or indirectly include this file:

Classes

class  kernel
 The kernel of a workeru that is using the library. More...
 
class  agent
 The base class for any library object including cell s, missive s, agent_grp s and agent_ref s. More...
 
class  cell
 The base class for any user processing class that wishes send missive s. More...
 
class  missive
 The base class for any user data class that wishes to be sent beetwen cell s. More...
 
class  agent_grp
 A class that is used internally to group missive s, cell s or any agent derived class. You can use it too. More...
 
class  agent_ref
 A class that is used internally to hold a reference (local or remote ) to missive s, cell s or any agent derived class. You can use it too. More...
 

Macros

#define MCK_DEFINE_ACQUIRE_ALLOC(nam, align)
 Defines 'acquire_alloc' method for class 'nam' with aligment 'align' (32 or 64).
 
#define MCK_DECLARE_MEM_METHODS(nam, module)
 Declares dynamic memory methods for class 'nam'.
 
#define MCK_DEFINE_MEM_METHODS(nam, align, all_ava, curr_sep_sz)
 Defines dynamic memory methods for class 'nam' with aligment 'align' (32 or 64) and available list 'all_ava'.
 
#define MCK_DECLARE_MEM_METHODS_AND_GET_AVA(nam, module)
 Calls MCK_DECLARE_MEM_METHODS and MCK_DECLARE_GET_AVAILABLE.
 
#define MCK_DEFINE_MEM_METHODS_AND_GET_AVA(nam, align, all_ava, curr_sep_sz)
 Calls MCK_DEFINE_MEM_METHODS and MCK_DEFINE_GET_AVAILABLE.
 
#define MCK_KERNEL   (mck_PT_THE_KERNEL)
 Returns the kernel of this workeru.
 
#define mck_get_kernel()   MCK_KERNEL
 Gets the local kernel.
 

Typedefs

typedef uint8_t mck_handler_idx_t
 Type to identify a missive handler.
 
typedef void(* missive_handler_t) (missive *msg)
 Type for functions that handle missive s (it is a pointer to the handler function).
 

Enumerations

Variables

kernelmck_PT_THE_KERNEL
 This workeru's kernel.
 

Detailed Description

The one and only include file necessarry to use the Messagging Cells library.