#include <gnuradio/rpcserver_thrift.h>
|
| rpcserver_thrift () |
|
virtual | ~rpcserver_thrift () |
|
void | registerConfigureCallback (const std::string &id, const configureCallback_t callback) |
|
void | unregisterConfigureCallback (const std::string &id) |
|
void | registerQueryCallback (const std::string &id, const queryCallback_t callback) |
|
void | unregisterQueryCallback (const std::string &id) |
|
void | registerHandlerCallback (const std::string &id, const handlerCallback_t callback) |
|
void | unregisterHandlerCallback (const std::string &id) |
|
void | setKnobs (const GNURadio::KnobMap &) |
|
void | getKnobs (GNURadio::KnobMap &, const GNURadio::KnobIDList &) |
|
void | getRe (GNURadio::KnobMap &, const GNURadio::KnobIDList &) |
|
void | properties (GNURadio::KnobPropMap &, const GNURadio::KnobIDList &knobs) |
|
void | 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 . More...
|
|
virtual void | shutdown () |
|
| rpcserver_base () |
|
virtual | ~rpcserver_base () |
|
virtual void | registerConfigureCallback (const std::string &id, const configureCallback_t callback)=0 |
|
virtual void | registerQueryCallback (const std::string &id, const queryCallback_t callback)=0 |
|
virtual void | setCurPrivLevel (const priv_lvl_t priv) |
|
| callbackregister_base () |
|
virtual | ~callbackregister_base () |
|
rpcserver_thrift::rpcserver_thrift |
( |
| ) |
|
virtual rpcserver_thrift::~rpcserver_thrift |
( |
| ) |
|
|
virtual |
void rpcserver_thrift::getKnobs |
( |
GNURadio::KnobMap & |
, |
|
|
const GNURadio::KnobIDList & |
|
|
) |
| |
void rpcserver_thrift::getRe |
( |
GNURadio::KnobMap & |
, |
|
|
const GNURadio::KnobIDList & |
|
|
) |
| |
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. |
void rpcserver_thrift::properties |
( |
GNURadio::KnobPropMap & |
, |
|
|
const GNURadio::KnobIDList & |
knobs |
|
) |
| |
void rpcserver_thrift::registerConfigureCallback |
( |
const std::string & |
id, |
|
|
const configureCallback_t |
callback |
|
) |
| |
void rpcserver_thrift::registerHandlerCallback |
( |
const std::string & |
id, |
|
|
const handlerCallback_t |
callback |
|
) |
| |
|
virtual |
void rpcserver_thrift::registerQueryCallback |
( |
const std::string & |
id, |
|
|
const queryCallback_t |
callback |
|
) |
| |
void rpcserver_thrift::setKnobs |
( |
const GNURadio::KnobMap & |
| ) |
|
virtual void rpcserver_thrift::shutdown |
( |
| ) |
|
|
virtual |
void rpcserver_thrift::unregisterConfigureCallback |
( |
const std::string & |
id | ) |
|
|
virtual |
void rpcserver_thrift::unregisterHandlerCallback |
( |
const std::string & |
id | ) |
|
|
virtual |
void rpcserver_thrift::unregisterQueryCallback |
( |
const std::string & |
id | ) |
|
|
virtual |
The documentation for this class was generated from the following file: