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
rpcbasic_extractor< T, short > Class Template Reference

Specialized extractor class for short data. More...

#include <gnuradio/rpcregisterhelpers.h>

Public Member Functions

 rpcbasic_extractor (T *source, void(T::*func)(short))
 
void post (pmt::pmt_t which_port, pmt::pmt_t msg)
 send msg to msg_accepter on port which_port More...
 
- Public Member Functions inherited from rpcextractor_base< T, short >
 rpcextractor_base (T *source, void(T::*func)(short))
 
 ~rpcextractor_base ()
 
void post (pmt::pmt_t which_port, pmt::pmt_t msg)
 send msg to msg_accepter on port which_port More...
 
- Public Member Functions inherited from gr::messages::msg_accepter
 msg_accepter ()
 
virtual ~msg_accepter ()
 

Additional Inherited Members

- Protected Attributes inherited from rpcextractor_base< T, short >
T * _source
 
void(T::* _func )(short)
 

Detailed Description

template<typename T>
class rpcbasic_extractor< T, short >

Specialized extractor class for short data.

Constructor & Destructor Documentation

template<typename T >
rpcbasic_extractor< T, short >::rpcbasic_extractor ( T *  source,
void(T::*)(short)  func 
)
inline

Member Function Documentation

template<typename T >
void rpcbasic_extractor< T, short >::post ( pmt::pmt_t  which_port,
pmt::pmt_t  msg 
)
inlinevirtual

send msg to msg_accepter on port which_port

Sending a message is an asynchronous operation. The post call will not wait for the message either to arrive at the destination or to be received.

Implements gr::messages::msg_accepter.

References pmt::to_long().


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