#include <modulator.h>
Inheritance diagram for simthlib::Modulator:
Public Member Functions | |
Modulator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, std::auto_ptr< MappingScheme > mapp) | |
virtual | ~Modulator ()=0 |
virtual void | updateInputLengths () |
virtual void | modulate (const simth::BitSeq &bits, simth::ModSeq *modSymbols)=0 |
virtual int | getNumStates () const =0 |
virtual void | process () |
virtual void | print (std::ostream &os) const |
virtual void | startOfSimulation () |
virtual const ConstellationDiagram * | constellation () const =0 |
Static Public Member Functions | |
static void | init (const std::string fileName, simth::Device **dev, simth::DeviceSystemIntf *sysPtr, int ID, const std::string ®ionQualifier="") |
Protected Member Functions | |
virtual int | getBitsPerSymbol () const =0 |
virtual Complex | getComplSymbol (int symbolIndex) const =0 |
int | getSymbolIndex (int dataValue) const |
void | bitSeq2IndexSeq (const simth::BitSeq &newBitSeq, simth::ModIndSeq *indexSeq) |
void | indexSeq2complSymbolSeq (const simth::ModIndSeq &modIndexes, simth::ModSeq *complSym) |
int | indexLength (int bitLen) const |
Friends | |
class | AdachiDemodulator |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_Modulator (not_a_function) |
The class modulator is an abstract base class wich provides an interface for a particular modulator (e.g. DPSK modulator).
|
Class constructor. |
|
The pure virtual destructor assures that no instance of this class can be created. |
|
This function maps the given bit sequence to a sequence of integer values. The number of bits per integer value is determined by the the modulation valency of the chosen modulation scheme. The resulting integer values, also called modulation indexes, will be stored inside the class and can be accessed by the three functions described next. Additionally, the function sets dummySymbols to the number of bits appended to the last modulated sequence. |
|
Returns a pointer to the used constellation diagram. Implemented in simthlib::QamModulator, simthlib::PskModulator, simthlib::ApskModulator, simthlib::DaskModulator, simthlib::DpskModulator, and simthlib::DapskModulator. |
|
|
|
|
|
Implemented in simthlib::QamModulator, simthlib::PskModulator, simthlib::ApskModulator, simthlib::DaskModulator, simthlib::DpskModulator, and simthlib::DapskModulator. |
|
|
|
|
|
Transforms a given sequence of symbol indexes to the corresponding complex values in the constellation diagram, according to the chosen modulation scheme. |
|
DEPRECATED. The new method of creating a device is through the map of factory functions, as created inside the DeviceFactory class. This function will go away in future. |
|
Modulate a sequence of bits to a sequence of complex values. These complex values representing the symbols to be transmitted. Implemented in simthlib::AbsModulator, and simthlib::DiffModulator. |
|
Reimplemented from simth::Device. Reimplemented in simthlib::QamModulator, simthlib::PskModulator, simthlib::ApskModulator, simthlib::DiffSubSeqModulator, simthlib::DaskModulator, simthlib::DpskModulator, and simthlib::DapskModulator. |
|
Implements simth::Device. |
|
Reimplemented from simth::Device. Reimplemented in simthlib::PskModulator, simthlib::ApskModulator, simthlib::DpskModulator, and simthlib::DapskModulator. |
|
Implements simth::Device. |
|
|
|
These are the properties of class Modulator . 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: The class modulator is an abstract base class wich provides an interface for a particular modulator. Note that this class also has the Properties of its base classes. The direct base class is simth::Device ; direct link to its propertylist should be propertylist_Device(). 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.
|