GNU Radio's MESA Package
gr::lfast::MTBase< io_type > Class Template Reference

#include <fir_filter_lfast.h>

Public Member Functions

 MTBase (int nthreads=4)
 
virtual ~MTBase ()
 
int numThreads ()
 
virtual void setDecimation (int newDecimation)
 
virtual int getDecimation ()
 
virtual bool decimating ()
 
virtual long calcDecimationBlockSize (long numSamples)
 
virtual long calcDecimationIndex (long blockStartIndex)
 
virtual void setThreads (int nthreads)
 
virtual bool anyThreadRunning ()
 

Protected Attributes

const io_type * pInputBuffer
 
io_type * pOutputBuffer
 
boost::thread * threads [16]
 
bool threadRunning [16]
 
bool threadReady
 
int d_nthreads
 
int decimation
 

Constructor & Destructor Documentation

◆ MTBase()

template<class io_type>
gr::lfast::MTBase< io_type >::MTBase ( int  nthreads = 4)

◆ ~MTBase()

template<class io_type>
virtual gr::lfast::MTBase< io_type >::~MTBase ( )
virtual

Member Function Documentation

◆ anyThreadRunning()

template<class io_type>
virtual bool gr::lfast::MTBase< io_type >::anyThreadRunning ( )
virtual

◆ calcDecimationBlockSize()

template<class io_type>
virtual long gr::lfast::MTBase< io_type >::calcDecimationBlockSize ( long  numSamples)
virtual

◆ calcDecimationIndex()

template<class io_type>
virtual long gr::lfast::MTBase< io_type >::calcDecimationIndex ( long  blockStartIndex)
virtual

◆ decimating()

template<class io_type>
virtual bool gr::lfast::MTBase< io_type >::decimating ( )
inlinevirtual

◆ getDecimation()

template<class io_type>
virtual int gr::lfast::MTBase< io_type >::getDecimation ( )
inlinevirtual

◆ numThreads()

template<class io_type>
int gr::lfast::MTBase< io_type >::numThreads ( )
inline

◆ setDecimation()

template<class io_type>
virtual void gr::lfast::MTBase< io_type >::setDecimation ( int  newDecimation)
inlinevirtual

◆ setThreads()

template<class io_type>
virtual void gr::lfast::MTBase< io_type >::setThreads ( int  nthreads)
virtual

Member Data Documentation

◆ d_nthreads

template<class io_type>
int gr::lfast::MTBase< io_type >::d_nthreads
protected

◆ decimation

template<class io_type>
int gr::lfast::MTBase< io_type >::decimation
protected

◆ pInputBuffer

template<class io_type>
const io_type* gr::lfast::MTBase< io_type >::pInputBuffer
protected

◆ pOutputBuffer

template<class io_type>
io_type* gr::lfast::MTBase< io_type >::pOutputBuffer
protected

◆ threadReady

template<class io_type>
bool gr::lfast::MTBase< io_type >::threadReady
protected

◆ threadRunning

template<class io_type>
bool gr::lfast::MTBase< io_type >::threadRunning[16]
protected

◆ threads

template<class io_type>
boost::thread* gr::lfast::MTBase< io_type >::threads[16]
protected

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