message.h File Reference

#include <mblock/common.h>
#include <iosfwd>

Go to the source code of this file.

Classes

class  mb_message

Defines

#define MB_MESSAGE_LOCAL_ALLOCATOR   0

Functions

mb_message_sptr mb_make_message (pmt_t signal, pmt_t data=PMT_NIL, pmt_t metadata=PMT_NIL, mb_pri_t priority=MB_PRI_DEFAULT)
 construct a message and return boost::shared_ptr
std::ostream & operator<< (std::ostream &os, const mb_message &msg)
std::ostream & operator<< (std::ostream &os, const mb_message_sptr msg)

Define Documentation

#define MB_MESSAGE_LOCAL_ALLOCATOR   0

Function Documentation

mb_message_sptr mb_make_message ( pmt_t  signal,
pmt_t  data = PMT_NIL,
pmt_t  metadata = PMT_NIL,
mb_pri_t  priority = MB_PRI_DEFAULT 
)

construct a message and return boost::shared_ptr

Parameters:
signal identifier of the message
data the data to be operated on
metadata information about the data
priority urgency
std::ostream& operator<< ( std::ostream &  os,
const mb_message_sptr  msg 
) [inline]
std::ostream& operator<< ( std::ostream &  os,
const mb_message msg 
)

Generated by  doxygen 1.6.2