GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
rpcextractor_base< T, void > Class Template Reference

#include <gnuradio/rpcregisterhelpers.h>

Public Member Functions

 rpcextractor_base (T *source, void(T::*func)())
 
 ~rpcextractor_base () override
 
void post (pmt::pmt_t which_port, pmt::pmt_t msg) override
 send msg to msg_accepter on port which_port More...
 
- Public Member Functions inherited from gr::messages::msg_accepter
 msg_accepter ()
 
virtual ~msg_accepter ()
 

Protected Attributes

T * _source
 
void(T::* _func )()
 

Constructor & Destructor Documentation

◆ rpcextractor_base()

template<typename T >
rpcextractor_base< T, void >::rpcextractor_base ( T *  source,
void(T::*)()  func 
)
inline

◆ ~rpcextractor_base()

template<typename T >
rpcextractor_base< T, void >::~rpcextractor_base ( )
inlineoverride

Member Function Documentation

◆ post()

template<typename T >
void rpcextractor_base< T, void >::post ( pmt::pmt_t  which_port,
pmt::pmt_t  msg 
)
inlineoverridevirtual

send msg to msg_accepter on port which_port

Sending a message is an asynchronous operation. The post call will not wait for the message either to arrive at the destination or to be received.

Implements gr::messages::msg_accepter.

Reimplemented in rpcbasic_extractor< T, void >.

References gr::msgport_names::msg().

Member Data Documentation

◆ _func

template<typename T >
void(T::* rpcextractor_base< T, void >::_func) ()
protected

◆ _source

template<typename T >
T* rpcextractor_base< T, void >::_source
protected

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