GNU Radio 3.6.0 C++ API
pmt::pmt_mgr Class Reference

#include <pmt_mgr.h>

List of all members.

Public Types

typedef boost::shared_ptr
< pmt_mgr
sptr

Public Member Functions

virtual void set (pmt_t x)=0
 Set a pmt to the specified manager.
virtual void reset (pmt_t x)=0
 Unset a pmt from the specified manager.
virtual pmt_t acquire (bool block=true)=0
 Acquire a pmt from the manager.

Static Public Member Functions

static sptr make (void)
 Make a new pmt manager object.

Member Typedef Documentation


Member Function Documentation

virtual pmt_t pmt::pmt_mgr::acquire ( bool  block = true) [pure virtual]

Acquire a pmt from the manager.

The order of managed pmts retrieved by this function is not guaranteed. For this reason, the user may want to keep a manager homogeneous. Ex: This manager only manages blobs of size 1500 bytes.

Parameters:
blockwhen true, block until pmt available
Returns:
a managed pmt or empty sptr if not available
static sptr pmt::pmt_mgr::make ( void  ) [static]

Make a new pmt manager object.

virtual void pmt::pmt_mgr::reset ( pmt_t  x) [pure virtual]

Unset a pmt from the specified manager.

Parameters:
xany other object of type pmt
virtual void pmt::pmt_mgr::set ( pmt_t  x) [pure virtual]

Set a pmt to the specified manager.

Parameters:
xany other object of type pmt

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