#include <gnuradio/rpcserver_thrift.h>
◆ rpcserver_thrift()
rpcserver_thrift::rpcserver_thrift |
( |
| ) |
|
◆ ~rpcserver_thrift()
virtual rpcserver_thrift::~rpcserver_thrift |
( |
| ) |
|
|
virtual |
◆ getKnobs()
void rpcserver_thrift::getKnobs |
( |
GNURadio::KnobMap & |
, |
|
|
const GNURadio::KnobIDList & |
|
|
) |
| |
◆ getRe()
void rpcserver_thrift::getRe |
( |
GNURadio::KnobMap & |
, |
|
|
const GNURadio::KnobIDList & |
|
|
) |
| |
◆ postMessage()
void rpcserver_thrift::postMessage |
( |
const std::string & |
alias, |
|
|
const std::string & |
port, |
|
|
const std::string & |
msg |
|
) |
| |
Call this to post a message to the port
for the block identified by alias
.
The message, msg
, is passed as a serialized PMT that is then passed to the message handler function identified by port
to the block identified by alias
. The alias
and port
values are passed as serialized PMT symbols (see pmt::intern). The message is whatever PMT format is appropriate for the message handler function.
To use this function, the message handler function must have been registered (most likely in setup_rpc) in the block during construction using rpcbasic_register_handler.
- Parameters
-
alias | The alias of the block, which is used to map to the real block through the global_block_registry. Passed in as a serialized PMT symbol. |
port | The name of the message port. Passed in as a serialized PMT symbol. |
msg | The actual message to pass to port . This is a serialized PMT where the PMT is whatever form appropriate for the message handler function. |
◆ properties()
void rpcserver_thrift::properties |
( |
GNURadio::KnobPropMap & |
, |
|
|
const GNURadio::KnobIDList & |
knobs |
|
) |
| |
◆ registerConfigureCallback()
void rpcserver_thrift::registerConfigureCallback |
( |
const std::string & |
id, |
|
|
const configureCallback_t |
callback |
|
) |
| |
|
virtual |
◆ registerHandlerCallback()
void rpcserver_thrift::registerHandlerCallback |
( |
const std::string & |
id, |
|
|
const handlerCallback_t |
callback |
|
) |
| |
|
virtual |
◆ registerQueryCallback()
void rpcserver_thrift::registerQueryCallback |
( |
const std::string & |
id, |
|
|
const queryCallback_t |
callback |
|
) |
| |
|
virtual |
◆ setKnobs()
void rpcserver_thrift::setKnobs |
( |
const GNURadio::KnobMap & |
| ) |
|
◆ shutdown()
virtual void rpcserver_thrift::shutdown |
( |
| ) |
|
|
virtual |
◆ unregisterConfigureCallback()
void rpcserver_thrift::unregisterConfigureCallback |
( |
const std::string & |
id | ) |
|
|
virtual |
◆ unregisterHandlerCallback()
void rpcserver_thrift::unregisterHandlerCallback |
( |
const std::string & |
id | ) |
|
|
virtual |
◆ unregisterQueryCallback()
void rpcserver_thrift::unregisterQueryCallback |
( |
const std::string & |
id | ) |
|
|
virtual |
The documentation for this class was generated from the following file: