GNU Radio 3.6.5.1 C++ API
gr::blocks::stream_pdu_base Class Reference

#include <stream_pdu_base.h>

Inheritance diagram for gr::blocks::stream_pdu_base:
gr::blocks::socket_pdu_impl gr::blocks::tuntap_pdu_impl

Public Member Functions

 stream_pdu_base (int MTU=10000)
 ~stream_pdu_base ()

Protected Member Functions

void run ()
void send (pmt::pmt_t msg)
bool wait_ready ()
void start_rxthread (gr_basic_block *blk, pmt::pmt_t rxport)
void stop_rxthread ()

Protected Attributes

int d_fd
bool d_started
bool d_finished
std::vector< uint8_td_rxbuf
gruel::thread d_thread
pmt::pmt_t d_port
gr_basic_blockd_blk

Constructor & Destructor Documentation

gr::blocks::stream_pdu_base::stream_pdu_base ( int  MTU = 10000)
gr::blocks::stream_pdu_base::~stream_pdu_base ( )

Member Function Documentation

void gr::blocks::stream_pdu_base::run ( )
protected
void gr::blocks::stream_pdu_base::send ( pmt::pmt_t  msg)
protected
void gr::blocks::stream_pdu_base::start_rxthread ( gr_basic_block blk,
pmt::pmt_t  rxport 
)
protected
void gr::blocks::stream_pdu_base::stop_rxthread ( )
protected
bool gr::blocks::stream_pdu_base::wait_ready ( )
protected

Member Data Documentation

gr_basic_block* gr::blocks::stream_pdu_base::d_blk
protected
int gr::blocks::stream_pdu_base::d_fd
protected
bool gr::blocks::stream_pdu_base::d_finished
protected
pmt::pmt_t gr::blocks::stream_pdu_base::d_port
protected
std::vector<uint8_t> gr::blocks::stream_pdu_base::d_rxbuf
protected
bool gr::blocks::stream_pdu_base::d_started
protected
gruel::thread gr::blocks::stream_pdu_base::d_thread
protected

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