Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

transmitter.h File Reference

#include <fstream>
#include <string>
#include <exception>
#include "signals.h"
#include "fft.h"
#include "channel.h"
#include "misc.h"
#include "basicdevice.h"
#include "interfaces.h"
#include "modulator.h"

Include dependency graph for transmitter.h:

Go to the source code of this file.

Namespaces

namespace  simthlib
namespace  simthlib::ofdm

Enumerations

enum  FillUpScheme { TIME, TIME_SNAKE, FREQ, FREQ_SNAKE }

Functions

std::ostream & operator<< (std::ostream &os, const Transmitter &tr)
ofdm::FillUpScheme string_to_diffscheme (const std::string &s)
void initFillUpScheme (FillUpScheme mode, int numOfdmSymbols, int numCarrier, simth::checkedVector< int > *vec)
std::pair< int, int > index2position (int index, int numCarrier)
int position2index (int timePos, int carrierPos, int numCarrier)


Enumeration Type Documentation

enum simthlib::ofdm::FillUpScheme
 

Enumeration values:
TIME 
TIME_SNAKE 
FREQ 
FREQ_SNAKE 


Function Documentation

std::pair<int,int> index2position int  index,
int  numCarrier
 

Converts the 1-dimensional index that describes a position within the OFDM block to the 2-dimensional notation. The first dimension of that notation indexes the time position, i.e. the OFDM symbol while the second dimension indexes the frequency position, i.e. the subcarrier number. The lower left corner is indexed by (0,0), the upper left corner is

void initFillUpScheme FillUpScheme  mode,
int  numOfdmSymbols,
int  numCarrier,
simth::checkedVector< int > *  vec
 

class std::ostream& operator<< std::ostream &  os,
const Transmitter &  tr
 

int position2index int  timePos,
int  carrierPos,
int  numCarrier
 

The inverse operation of the function index2position(int index).

ofdm::FillUpScheme string_to_diffscheme const std::string &  s  ) 
 

Converts a string specification of the fill-up scheme (e.g. from the parameter file or Property) into the appropriate enum value.


Generated on Tue Aug 9 14:36:09 2005 for simtheticlib by  doxygen 1.4.1