GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem
rpcserver_base Class Referenceabstract

#include <gnuradio/rpcserver_base.h>

Public Member Functions

 rpcserver_base ()
 
virtual ~rpcserver_base ()
 
virtual void registerConfigureCallback (const std::string &id, const configureCallback_t callback)=0
 
virtual void unregisterConfigureCallback (const std::string &id)=0
 
virtual void registerQueryCallback (const std::string &id, const queryCallback_t callback)=0
 
virtual void unregisterQueryCallback (const std::string &id)=0
 
virtual void registerHandlerCallback (const std::string &id, const handlerCallback_t callback)=0
 
virtual void unregisterHandlerCallback (const std::string &id)=0
 
virtual void setCurPrivLevel (const priv_lvl_t priv)
 
- Public Member Functions inherited from callbackregister_base
 callbackregister_base ()
 
virtual ~callbackregister_base ()
 

Protected Attributes

priv_lvl_t cur_priv
 

Additional Inherited Members

- Public Types inherited from callbackregister_base
typedef callback_t< gr::messages::msg_accepter, gr::messages::msg_accepter_sptr > configureCallback_t
 
typedef callback_t< gr::messages::msg_producer, gr::messages::msg_producer_sptr > queryCallback_t
 
typedef callback_t< gr::messages::msg_accepter, gr::messages::msg_accepter_sptr > handlerCallback_t
 

Constructor & Destructor Documentation

◆ rpcserver_base()

rpcserver_base::rpcserver_base ( )
inline

◆ ~rpcserver_base()

Member Function Documentation

◆ registerConfigureCallback()

virtual void rpcserver_base::registerConfigureCallback ( const std::string &  id,
const configureCallback_t  callback 
)
pure virtual

◆ registerHandlerCallback()

virtual void rpcserver_base::registerHandlerCallback ( const std::string &  id,
const handlerCallback_t  callback 
)
pure virtual

◆ registerQueryCallback()

virtual void rpcserver_base::registerQueryCallback ( const std::string &  id,
const queryCallback_t  callback 
)
pure virtual

◆ setCurPrivLevel()

virtual void rpcserver_base::setCurPrivLevel ( const priv_lvl_t  priv)
inlinevirtual

References cur_priv.

◆ unregisterConfigureCallback()

virtual void rpcserver_base::unregisterConfigureCallback ( const std::string &  id)
pure virtual

◆ unregisterHandlerCallback()

virtual void rpcserver_base::unregisterHandlerCallback ( const std::string &  id)
pure virtual

◆ unregisterQueryCallback()

virtual void rpcserver_base::unregisterQueryCallback ( const std::string &  id)
pure virtual

Member Data Documentation

◆ cur_priv

priv_lvl_t rpcserver_base::cur_priv
protected

Referenced by setCurPrivLevel().


The documentation for this class was generated from the following file: