GNU Radio 3.7.1 C++ API
rpcextractor_base< T, Tto > Class Template Reference

#include <rpcregisterhelpers.h>

Inheritance diagram for rpcextractor_base< T, Tto >:

List of all members.

Public Member Functions

 rpcextractor_base (T *source, void(T::*func)(Tto))
 ~rpcextractor_base ()
void post (pmt::pmt_t which_port, pmt::pmt_t msg)
 send msg to msg_accepter on port which_port

Protected Attributes

T * _source
void(T::* _func )(Tto)

template<typename T, typename Tto>
class rpcextractor_base< T, Tto >


Constructor & Destructor Documentation

template<typename T, typename Tto>
rpcextractor_base< T, Tto >::rpcextractor_base ( T *  source,
void(T::*)(Tto)  func 
) [inline]
template<typename T, typename Tto>
rpcextractor_base< T, Tto >::~rpcextractor_base ( ) [inline]

Member Function Documentation

template<typename T, typename Tto>
void rpcextractor_base< T, Tto >::post ( pmt::pmt_t  which_port,
pmt::pmt_t  msg 
) [inline, virtual]

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.

Reimplemented in rpcbasic_extractor< T, std::string >, rpcbasic_extractor< T, std::complex< double > >, rpcbasic_extractor< T, std::complex< float > >, rpcbasic_extractor< T, bool >, rpcbasic_extractor< T, int >, rpcbasic_extractor< T, long >, rpcbasic_extractor< T, float >, rpcbasic_extractor< T, double >, rpcbasic_extractor< T, short >, and rpcbasic_extractor< T, char >.


Member Data Documentation

template<typename T, typename Tto>
void(T::* rpcextractor_base< T, Tto >::_func)(Tto) [protected]

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