Base class for registering a ControlPort Extractor. Acts as a message acceptor. More...
#include <gnuradio/rpcregisterhelpers.h>
Public Member Functions | |
rpcextractor_base (T *source, void(T::*func)(Tto)) | |
~rpcextractor_base () override | |
void | post (pmt::pmt_t which_port, pmt::pmt_t msg) override |
send msg to msg_accepter on port which_port | |
Protected Attributes | |
T * | _source |
void(T::* | _func )(Tto) |
Base class for registering a ControlPort Extractor. Acts as a message acceptor.
|
inline |
References _func, and _source.
Referenced by rpcbasic_extractor< T, Tto >::rpcbasic_extractor().
|
inlineoverride |
|
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.
|
protected |
Referenced by rpcbasic_extractor< T, bool >::post(), rpcbasic_extractor< T, char >::post(), rpcbasic_extractor< T, double >::post(), rpcbasic_extractor< T, float >::post(), rpcbasic_extractor< T, int >::post(), rpcbasic_extractor< T, long >::post(), rpcbasic_extractor< T, short >::post(), rpcbasic_extractor< T, std::string >::post(), rpcbasic_extractor< T, void >::post(), and rpcextractor_base().
|
protected |
Referenced by rpcbasic_extractor< T, bool >::post(), rpcbasic_extractor< T, char >::post(), rpcbasic_extractor< T, double >::post(), rpcbasic_extractor< T, float >::post(), rpcbasic_extractor< T, int >::post(), rpcbasic_extractor< T, long >::post(), rpcbasic_extractor< T, short >::post(), rpcbasic_extractor< T, std::string >::post(), rpcbasic_extractor< T, void >::post(), and rpcextractor_base().