fun_ofdm  1.0
802.11a Physical Layer for USRP
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
fun::block_base Class Referenceabstract

The block_base class. More...

#include <block.h>

Inheritance diagram for fun::block_base:
fun::block< std::complex< double >, tagged_sample > fun::block< tagged_sample, tagged_sample > fun::block< tagged_sample, tagged_vector< 64 > > fun::block< tagged_vector< 48 >, std::vector< unsigned char > > fun::block< tagged_vector< 64 >, tagged_vector< 48 > > fun::block< tagged_vector< 64 >, tagged_vector< 64 > > fun::block< I, O > fun::frame_detector fun::timing_sync fun::fft_symbols fun::frame_decoder fun::phase_tracker fun::channel_est

Public Member Functions

 block_base (std::string block_name)
 block_base constructor More...
 
virtual void work ()=0
 The main work function. More...
 

Public Attributes

std::string name
 the public name of the block More...
 

Detailed Description

The block_base class.

This class is to allow the receiver chain to use generic pointers to refer to each block in the receive chain even if they are different templates.

Definition at line 36 of file block.h.

Constructor & Destructor Documentation

fun::block_base::block_base ( std::string  block_name)
inline

block_base constructor

Parameters
block_namethe name of the block as a std::string

Definition at line 44 of file block.h.

44  :
45  name(block_name)
46  {
47  }

Member Function Documentation

Member Data Documentation

std::string fun::block_base::name

the public name of the block

Definition at line 59 of file block.h.


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