GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 ( )
inline
virtual rpcserver_base::~rpcserver_base ( )
inlinevirtual

Member Function Documentation

virtual void rpcserver_base::registerConfigureCallback ( const std::string &  id,
const configureCallback_t  callback 
)
pure virtual
virtual void rpcserver_base::registerHandlerCallback ( const std::string &  id,
const handlerCallback_t  callback 
)
pure virtual
virtual void rpcserver_base::registerQueryCallback ( const std::string &  id,
const queryCallback_t  callback 
)
pure virtual
virtual void rpcserver_base::setCurPrivLevel ( const priv_lvl_t  priv)
inlinevirtual

References cur_priv.

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

Member Data Documentation

priv_lvl_t rpcserver_base::cur_priv
protected

Referenced by setCurPrivLevel().


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