rpcbasic_register_handler
rpcbasic_base
gnuradio/rpcregisterhelpers.h
typename T
std::string std::string rpcbasic_register_handler< T >::d_id d_id rpcbasic_register_handler::d_id
std::string std::string rpcbasic_register_handler< T >::d_units d_units rpcbasic_register_handler::d_units
std::string std::string rpcbasic_register_handler< T >::d_desc d_desc rpcbasic_register_handler::d_desc
priv_lvl_t priv_lvl_t rpcbasic_register_handler< T >::d_minpriv d_minpriv rpcbasic_register_handler::d_minpriv
DisplayType DisplayType rpcbasic_register_handler< T >::d_display d_display rpcbasic_register_handler::d_display
T * T* rpcbasic_register_handler< T >::d_object d_object rpcbasic_register_handler::d_object
rpcbasic_register_handler< T >::rpcbasic_register_handler
(const std::string &block_alias, const char *handler, const char *units_="", const char *desc_="", priv_lvl_t minpriv_=RPC_PRIVLVL_MIN, DisplayType display_=DISPNULL)
rpcbasic_register_handler
rpcbasic_register_handler::rpcbasic_register_handler
const std::string & block_alias
const char * handler
const char * units_ ""
const char * desc_ ""
priv_lvl_t minpriv_ RPC_PRIVLVL_MIN
DisplayType display_ DISPNULL

Adds the ability to pass a message over ControlPort.

This makes any message handler function available over ControlPort. Since message handlers always take in a single PMT message input, this interface provides a very generic way of setting values in a block in a flowgraph.

block_alias

Alias of the block

handler

The name of the message port in the block

units_

A string to describe what units to represent the variable with

desc_

A string to describing the variable.

minpriv_

The required minimum privilege level

display_

The display mask

gr::block_registry::block_lookup
rpcmanager::get
global_block_registry
rpcserver_booter_base::i
pmt::intern
rpcserver_base::registerHandlerCallback
rpcbasic_register_handler< T >::~rpcbasic_register_handler
() override
~rpcbasic_register_handler
rpcbasic_register_handler::~rpcbasic_register_handler
rpcmanager::get
rpcserver_booter_base::i
rpcserver_base::unregisterHandlerCallback
std::string std::string rpcbasic_register_handler< T >::units () const units rpcbasic_register_handler::units
std::string std::string rpcbasic_register_handler< T >::description () const description rpcbasic_register_handler::description
priv_lvl_t priv_lvl_t rpcbasic_register_handler< T >::privilege_level () const privilege_level rpcbasic_register_handler::privilege_level
DisplayType DisplayType rpcbasic_register_handler< T >::default_display () const default_display rpcbasic_register_handler::default_display
void void rpcbasic_register_handler< T >::units (std::string u) units rpcbasic_register_handler::units std::string u
void void rpcbasic_register_handler< T >::description (std::string d) description rpcbasic_register_handler::description std::string d
void void rpcbasic_register_handler< T >::privilege_level (priv_lvl_t p) privilege_level rpcbasic_register_handler::privilege_level priv_lvl_t p
void void rpcbasic_register_handler< T >::default_display (DisplayType d) default_display rpcbasic_register_handler::default_display DisplayType d

Registers a message handler function to post a message to a block's handler.

rpcbasic_base
rpcbasic_register_handler< T >
rpcbasic_base
rpcbasic_register_handler< T >
- rpcbasic_register_handler
  d_desc
- rpcbasic_register_handler
  d_display
- rpcbasic_register_handler
  d_id
- rpcbasic_register_handler
  d_minpriv
- rpcbasic_register_handler
  d_object
- rpcbasic_register_handler
  d_units
- rpcbasic_register_handler
  default_display
- rpcbasic_register_handler
  default_display
- rpcbasic_register_handler
  description
- rpcbasic_register_handler
  description
- rpcbasic_register_handler
  privilege_level
- rpcbasic_register_handler
  privilege_level
- rpcbasic_register_handler
  rpcbasic_base
- rpcbasic_register_handler
  rpcbasic_register_handler
- rpcbasic_register_handler
  units
- rpcbasic_register_handler
  units
- rpcbasic_register_handler
  ~rpcbasic_base
- rpcbasic_register_handler
  ~rpcbasic_register_handler