GNU Radio's LFAST Package
gr::lfast::CC2F2ByteVector_impl Class Reference

#include <CC2F2ByteVector_impl.h>

Inheritance diagram for gr::lfast::CC2F2ByteVector_impl:
gr::lfast::CC2F2ByteVector

Public Member Functions

 CC2F2ByteVector_impl (int scale, int vecLength, int numVecItems)
 
 ~CC2F2ByteVector_impl ()
 
virtual bool stop ()
 
void setBufferLength (int numItems)
 
int work_original (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 
int work_test (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 

Protected Member Functions

void processItems (int threadIndex)
 

Protected Attributes

int d_scale
 
int d_vlen
 
boost::thread * threads [LF_MAX_THREADS]
 
bool dataReady [LF_MAX_THREADS]
 
long threadBlockSize [LF_MAX_THREADS]
 
long startIndex [LF_MAX_THREADS]
 
const gr_complex * inBuffer
 
char * outBuffer
 
unsigned concurentThreadsSupported
 
unsigned concurrentMinus1
 
bool stopThreads
 
boost::mutex d_mutex
 
float min_val = -128
 
float max_val = 127
 
float * floatBuff = NULL
 
int curBufferSize =0
 

Additional Inherited Members

- Public Types inherited from gr::lfast::CC2F2ByteVector
typedef boost::shared_ptr< CC2F2ByteVectorsptr
 
- Static Public Member Functions inherited from gr::lfast::CC2F2ByteVector
static sptr make (int scale=1, int vecLength=1, int numVecItems=1)
 Return a shared_ptr to a new instance of testtiming::CC2F2ByteVector. More...
 

Constructor & Destructor Documentation

◆ CC2F2ByteVector_impl()

gr::lfast::CC2F2ByteVector_impl::CC2F2ByteVector_impl ( int  scale,
int  vecLength,
int  numVecItems 
)

◆ ~CC2F2ByteVector_impl()

gr::lfast::CC2F2ByteVector_impl::~CC2F2ByteVector_impl ( )

Member Function Documentation

◆ processItems()

void gr::lfast::CC2F2ByteVector_impl::processItems ( int  threadIndex)
protected

◆ setBufferLength()

void gr::lfast::CC2F2ByteVector_impl::setBufferLength ( int  numItems)

◆ stop()

virtual bool gr::lfast::CC2F2ByteVector_impl::stop ( )
virtual

◆ work()

int gr::lfast::CC2F2ByteVector_impl::work ( int  noutput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

◆ work_original()

int gr::lfast::CC2F2ByteVector_impl::work_original ( int  noutput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

◆ work_test()

int gr::lfast::CC2F2ByteVector_impl::work_test ( int  noutput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

Member Data Documentation

◆ concurentThreadsSupported

unsigned gr::lfast::CC2F2ByteVector_impl::concurentThreadsSupported
protected

◆ concurrentMinus1

unsigned gr::lfast::CC2F2ByteVector_impl::concurrentMinus1
protected

◆ curBufferSize

int gr::lfast::CC2F2ByteVector_impl::curBufferSize =0
protected

◆ d_mutex

boost::mutex gr::lfast::CC2F2ByteVector_impl::d_mutex
protected

◆ d_scale

int gr::lfast::CC2F2ByteVector_impl::d_scale
protected

◆ d_vlen

int gr::lfast::CC2F2ByteVector_impl::d_vlen
protected

◆ dataReady

bool gr::lfast::CC2F2ByteVector_impl::dataReady[LF_MAX_THREADS]
protected

◆ floatBuff

float* gr::lfast::CC2F2ByteVector_impl::floatBuff = NULL
protected

◆ inBuffer

const gr_complex* gr::lfast::CC2F2ByteVector_impl::inBuffer
protected

◆ max_val

float gr::lfast::CC2F2ByteVector_impl::max_val = 127
protected

◆ min_val

float gr::lfast::CC2F2ByteVector_impl::min_val = -128
protected

◆ outBuffer

char* gr::lfast::CC2F2ByteVector_impl::outBuffer
protected

◆ startIndex

long gr::lfast::CC2F2ByteVector_impl::startIndex[LF_MAX_THREADS]
protected

◆ stopThreads

bool gr::lfast::CC2F2ByteVector_impl::stopThreads
protected

◆ threadBlockSize

long gr::lfast::CC2F2ByteVector_impl::threadBlockSize[LF_MAX_THREADS]
protected

◆ threads

boost::thread* gr::lfast::CC2F2ByteVector_impl::threads[LF_MAX_THREADS]
protected

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