#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) |
|
|
|
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 |
|
|
|
|
|
The inverse operation of the function index2position(int index). |
|
Converts a string specification of the fill-up scheme (e.g. from the parameter file or Property) into the appropriate enum value. |