rpcserver_thrift
rpcserver_base
GNURadio::ControlPortIf
gnuradio/rpcserver_thrift.h
rpcserver_thrift::set_f
rpcserver_thrift::get_f
rpcserver_thrift::get_all_f
rpcserver_thrift::properties_all_f
rpcserver_thrift::properties_f
std::map< std::string, configureCallback_t > typedef std::map<std::string, configureCallback_t> rpcserver_thrift::ConfigureCallbackMap_t ConfigureCallbackMap_t rpcserver_thrift::ConfigureCallbackMap_t
std::map< std::string, queryCallback_t > typedef std::map<std::string, queryCallback_t> rpcserver_thrift::QueryCallbackMap_t QueryCallbackMap_t rpcserver_thrift::QueryCallbackMap_t
std::map< std::string, handlerCallback_t > typedef std::map<std::string, handlerCallback_t> rpcserver_thrift::HandlerCallbackMap_t HandlerCallbackMap_t rpcserver_thrift::HandlerCallbackMap_t
gr::logger_ptr gr::logger_ptr rpcserver_thrift::d_logger d_logger rpcserver_thrift::d_logger
gr::logger_ptr gr::logger_ptr rpcserver_thrift::d_debug_logger d_debug_logger rpcserver_thrift::d_debug_logger
std::mutex std::mutex rpcserver_thrift::d_callback_map_lock d_callback_map_lock rpcserver_thrift::d_callback_map_lock
ConfigureCallbackMap_t ConfigureCallbackMap_t rpcserver_thrift::d_setcallbackmap d_setcallbackmap rpcserver_thrift::d_setcallbackmap
QueryCallbackMap_t QueryCallbackMap_t rpcserver_thrift::d_getcallbackmap d_getcallbackmap rpcserver_thrift::d_getcallbackmap
HandlerCallbackMap_t HandlerCallbackMap_t rpcserver_thrift::d_handlercallbackmap d_handlercallbackmap rpcserver_thrift::d_handlercallbackmap
rpcserver_thrift::rpcserver_thrift
()
rpcserver_thrift
rpcserver_thrift::rpcserver_thrift
virtual rpcserver_thrift::~rpcserver_thrift
()
~rpcserver_thrift
rpcserver_thrift::~rpcserver_thrift
void void rpcserver_thrift::registerConfigureCallback (const std::string &id, const configureCallback_t callback) registerConfigureCallback rpcserver_thrift::registerConfigureCallback registerConfigureCallback const std::string & id const configureCallback_t callback
void void rpcserver_thrift::unregisterConfigureCallback (const std::string &id) unregisterConfigureCallback rpcserver_thrift::unregisterConfigureCallback unregisterConfigureCallback const std::string & id
void void rpcserver_thrift::registerQueryCallback (const std::string &id, const queryCallback_t callback) registerQueryCallback rpcserver_thrift::registerQueryCallback registerQueryCallback const std::string & id const queryCallback_t callback
void void rpcserver_thrift::unregisterQueryCallback (const std::string &id) unregisterQueryCallback rpcserver_thrift::unregisterQueryCallback unregisterQueryCallback const std::string & id
void void rpcserver_thrift::registerHandlerCallback (const std::string &id, const handlerCallback_t callback) registerHandlerCallback rpcserver_thrift::registerHandlerCallback registerHandlerCallback const std::string & id const handlerCallback_t callback
void void rpcserver_thrift::unregisterHandlerCallback (const std::string &id) unregisterHandlerCallback rpcserver_thrift::unregisterHandlerCallback unregisterHandlerCallback const std::string & id
void void rpcserver_thrift::setKnobs (const GNURadio::KnobMap &) setKnobs rpcserver_thrift::setKnobs const GNURadio::KnobMap &
void void rpcserver_thrift::getKnobs (GNURadio::KnobMap &, const GNURadio::KnobIDList &) getKnobs rpcserver_thrift::getKnobs GNURadio::KnobMap & const GNURadio::KnobIDList &
void void rpcserver_thrift::getRe (GNURadio::KnobMap &, const GNURadio::KnobIDList &) getRe rpcserver_thrift::getRe GNURadio::KnobMap & const GNURadio::KnobIDList &
void void rpcserver_thrift::properties (GNURadio::KnobPropMap &, const GNURadio::KnobIDList &knobs) properties rpcserver_thrift::properties GNURadio::KnobPropMap & const GNURadio::KnobIDList & knobs
void void rpcserver_thrift::postMessage (const std::string &alias, const std::string &port, const std::string &msg) postMessage 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.

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 virtual void rpcserver_thrift::shutdown () shutdown rpcserver_thrift::shutdown rpcserver_base::cur_priv
void void rpcserver_thrift::set_h (const handlerCallback_t &_handlerCallback, const priv_lvl_t &_cur_priv, pmt::pmt_t port, pmt::pmt_t msg) set_h rpcserver_thrift::set_h const handlerCallback_t & _handlerCallback const priv_lvl_t & _cur_priv pmt::pmt_t port pmt::pmt_t msg

Manages calling the callback function for a message handler posting.

GNURadio::ControlPortIf
callbackregister_base
rpcserver_base
rpcserver_thrift
GNURadio::ControlPortIf
callbackregister_base
rpcserver_base
rpcserver_thrift
- rpcserver_thrift
  callbackregister_base
- rpcserver_thrift
  configureCallback_t
- rpcserver_thrift
  ConfigureCallbackMap_t
- rpcserver_thrift
  cur_priv
- rpcserver_thrift
  d_callback_map_lock
- rpcserver_thrift
  d_debug_logger
- rpcserver_thrift
  d_getcallbackmap
- rpcserver_thrift
  d_handlercallbackmap
- rpcserver_thrift
  d_logger
- rpcserver_thrift
  d_setcallbackmap
- rpcserver_thrift
  getKnobs
- rpcserver_thrift
  getRe
- rpcserver_thrift
  handlerCallback_t
- rpcserver_thrift
  HandlerCallbackMap_t
- rpcserver_thrift
  postMessage
- rpcserver_thrift
  properties
- rpcserver_thrift
  queryCallback_t
- rpcserver_thrift
  QueryCallbackMap_t
- rpcserver_thrift
  registerConfigureCallback
- rpcserver_thrift
  registerHandlerCallback
- rpcserver_thrift
  registerQueryCallback
- rpcserver_thrift
  rpcserver_base
- rpcserver_thrift
  rpcserver_thrift
- rpcserver_thrift
  set_h
- rpcserver_thrift
  setCurPrivLevel
- rpcserver_thrift
  setKnobs
- rpcserver_thrift
  shutdown
- rpcserver_thrift
  unregisterConfigureCallback
- rpcserver_thrift
  unregisterHandlerCallback
- rpcserver_thrift
  unregisterQueryCallback
- rpcserver_thrift
  ~callbackregister_base
- rpcserver_thrift
  ~rpcserver_base
- rpcserver_thrift
  ~rpcserver_thrift