Concrete port realization. More...
#include <mb_port_simple.h>
Public Member Functions | |
mb_port_simple (mb_mblock *mblock, const std::string &port_name, const std::string &protocol_class_name, bool conjugated, mb_port::port_type_t port_type) | |
~mb_port_simple () | |
void | send (pmt_t signal, pmt_t data=PMT_NIL, pmt_t metadata=PMT_NIL, mb_pri_t priority=MB_PRI_DEFAULT) |
send a message | |
void | invalidate_cache () |
Protected Member Functions | |
mb_msg_accepter_sptr | make_accepter () |
Static Protected Member Functions | |
static mb_msg_accepter_sptr | find_accepter (mb_port_simple *start) |
Concrete port realization.
mb_port_simple::mb_port_simple | ( | mb_mblock * | mblock, | |
const std::string & | port_name, | |||
const std::string & | protocol_class_name, | |||
bool | conjugated, | |||
mb_port::port_type_t | port_type | |||
) |
mb_port_simple::~mb_port_simple | ( | ) |
static mb_msg_accepter_sptr mb_port_simple::find_accepter | ( | mb_port_simple * | start | ) | [static, protected] |
void mb_port_simple::invalidate_cache | ( | ) | [virtual] |
Implements mb_port.
mb_msg_accepter_sptr mb_port_simple::make_accepter | ( | ) | [protected] |
void mb_port_simple::send | ( | pmt_t | signal, | |
pmt_t | data = PMT_NIL , |
|||
pmt_t | metadata = PMT_NIL , |
|||
mb_pri_t | priority = MB_PRI_DEFAULT | |||
) | [virtual] |
send a message
signal | the event name | |
data | optional data | |
metadata | optional metadata | |
priority | the urgency at which the message is sent |
Implements mb_port.