#include <modulator.h>
Inheritance diagram for simthlib::DapskModulator:
Public Member Functions | |
DapskModulator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl) | |
DapskModulator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, int bitsPerAmpl, int bitsPerPhase, double amplFactor, double amplAddend, int subSeqLen, map_type mappMode=GRAY) | |
virtual | ~DapskModulator () |
virtual void | startOfSimulation () |
int | getNumStates () const |
virtual void | print (std::ostream &os) const |
const ConstellationDiagram * | constellation () const |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_DapskModulator (not_a_function) |
In contrast to the base class DiffModulator, this class provides modulation and mapping. This is simply done by creating an ApskConstellation diagram in the constructor and assigning it to the pointer usedConstellationDiagram and by defining the pure virtual function diffOperation().
|
Class constructor wich computes the number of bits per phase and the number of bits per amplitude by the given number of bits per state according to the phd. thesis from Thomas May (p. 24, in German). Furthermore, the optimal (according to Thomas May) amplitude ratio between the amplitude rings is computed. The subSeqLen determines the distance between two reference symbols used for differential decoding, i.e. a sequence can contain several sub sequences that are independently from each other differentially encoded. |
|
Class constructor with explicit number of bits per phase, number of bits per amplitude, amplitude factor and amplitude addend. The amplitude of the i-th ring is computed by: where f is the amplitude Factor and A is the amplitude addend. |
|
|
|
Returns a pointer to the used constellation diagram. Implements simthlib::Modulator. |
|
Implements simthlib::Modulator. |
|
Reimplemented from simthlib::DiffSubSeqModulator. |
|
Reimplemented from simthlib::Modulator. |
|
These are the properties of class DapskModulator . This list is auto-generated from the XML-Devicelist of this device by means of an XSLT transformation script. Description of this device in the XML file: DAPSK modulator. In contrast to the base class DiffModulator, this class provides modulation and mapping. This is simply done by creating an ApskConstellation diagram in the constructor and assigning it to the pointer usedConstellationDiagram and by defining the pure virtual function diffOperation(). Watch out: The output length includes one single pilot symbol as the very first symbol. When you calculate the input length, you have to take into account that the output length will include this single pilot symbol in addition to the output calculated from the input bits. Note that this class also has the Properties of its base classes. The direct base class is simthlib::DiffSubSeqModulator ; direct link to its propertylist should be propertylist_DiffSubSeqModulator(). The list below usually includes the properties that have been inherited from the base classes; the properties which belong only to this class can be found at the end of this list. The above properties have been inherited from the base class simthlib::DiffModulator .
|