Base class for registering a ControlPort Handler. Acts as a message acceptor. More...
#include <gnuradio/rpcregisterhelpers.h>
Public Member Functions | |
| rpchandler_base (T *source, const char *handler) | |
| ~rpchandler_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 |
| const char * | _handler |
Base class for registering a ControlPort Handler. Acts as a message acceptor.
|
inline |
References _handler, and _source.
Referenced by rpcbasic_handler< T >::rpcbasic_handler().
|
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.
References _source.
|
protected |
Referenced by rpchandler_base().
|
protected |
Referenced by post(), and rpchandler_base().