Classes | Functions

protocol_class.h File Reference

#include <mblock/common.h>
Include dependency graph for protocol_class.h:

Go to the source code of this file.

Classes

class  mb_protocol_class_init
 Initialize one or more protocol class from a serialized description. Used by machine generated code. More...

Functions

pmt_t mb_make_protocol_class (pmt_t name, pmt_t incoming, pmt_t outgoing)
 construct a protocol_class
pmt_t mb_protocol_class_name (pmt_t pc)
pmt_t mb_protocol_class_incoming (pmt_t pc)
pmt_t mb_protocol_class_outgoing (pmt_t pc)
pmt_t mb_protocol_class_lookup (pmt_t name)

Function Documentation

pmt_t mb_make_protocol_class ( pmt_t  name,
pmt_t  incoming,
pmt_t  outgoing 
)

construct a protocol_class

Parameters:
name the name of the class (symbol)
incoming incoming message set (list of symbols)
outgoing outgoing message set (list of symbols)
pmt_t mb_protocol_class_incoming ( pmt_t  pc  ) 
pmt_t mb_protocol_class_lookup ( pmt_t  name  ) 
pmt_t mb_protocol_class_name ( pmt_t  pc  ) 
pmt_t mb_protocol_class_outgoing ( pmt_t  pc  )