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

simthlib::ApskModulator Class Reference

#include <modulator.h>

Inheritance diagram for simthlib::ApskModulator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ApskModulator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl)
 ApskModulator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, int bitsPerAmpl, int bitsPerPhase, double amplFactor, double amplAddend=0.0, map_type mappMode=GRAY)
virtual ~ApskModulator ()
virtual void startOfSimulation ()
virtual int getNumStates () const
virtual void print (std::ostream &os) const
const ConstellationDiagramconstellation () const

Related Functions

(Note that these are not member functions.)

 propertylist_ApskModulator (not_a_function)

Detailed Description

In contrast to the base class AbsModulator, this class provides modulation and mapping. This is simply done by creating a ApskConstellation diagram in the constructor and assigning it to the pointer usedConstellationDiagram.


Constructor & Destructor Documentation

simthlib::ApskModulator::ApskModulator int  deviceID,
simth::DeviceSystemIntf system,
const simth::PropertyList pl
 

Class constructor which 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.

simthlib::ApskModulator::ApskModulator int  deviceID,
simth::DeviceSystemIntf system,
const simth::PropertyList pl,
int  bitsPerAmpl,
int  bitsPerPhase,
double  amplFactor,
double  amplAddend = 0.0,
map_type  mappMode = GRAY
 

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: $a_i = f^i + i*A$ where f is the amplitude Factor and A is the amplitude addend.

virtual simthlib::ApskModulator::~ApskModulator  )  [virtual]
 


Member Function Documentation

const ConstellationDiagram* simthlib::ApskModulator::constellation  )  const [inline, virtual]
 

Returns a pointer to the used constellation diagram.

Implements simthlib::Modulator.

virtual int simthlib::ApskModulator::getNumStates  )  const [inline, virtual]
 

Implements simthlib::Modulator.

virtual void simthlib::ApskModulator::print std::ostream &  os  )  const [virtual]
 

Reimplemented from simthlib::Modulator.

virtual void simthlib::ApskModulator::startOfSimulation  )  [virtual]
 

Reimplemented from simthlib::Modulator.


Friends And Related Function Documentation

propertylist_ApskModulator not_a_function   )  [related]
 

These are the properties of class ApskModulator . 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: In contrast to the base class AbsModulator, this class provides modulation and mapping. This is simply done by creating a ApskConstellation diagram in the constructor and assigning it to the pointer usedConstellationDiagram.

Note that this class also has the Properties of its base classes. The direct base class is simthlib::AbsModulator ; direct link to its propertylist should be propertylist_AbsModulator(). 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::AbsModulator .

detect_type
<enum>, default "coherent" -- FIXME: document me

constellation_explicit_mode
<bool>, default "false" -- If true, then the properties ampliture_* and bits_per_* are active. Otherwise they are not active and the property detect_type has to be set instead. FIXME: THis needs to be implemented.

bits_per_amplitude
<int>, default "0" -- Unimplemented.

bits_per_phase
<int>, default "0" -- Unimplemented.

amplitude_factor
<double>, default "0.0" -- Unimplemented.

amplitude_addend
<double>, default "0.0" -- Unimplemented.

6 properties in this class.


Generated on Tue Aug 9 14:38:45 2005 for simtheticlib by  doxygen 1.4.1