Compound Module APSKEncoder

Package: inet.physicallayer.apskradio.bitlevel
File: src/inet/physicallayer/apskradio/bitlevel/APSKEncoder.ned

This module is part of a simple hypothetical layered transmitter. It computes the bit domain representation from the packet domain representation by applying the configured scrambling, forward errror correction encoding, and interleaving.

See also APSKDecoder, APSKLayeredReceiver.

IScrambler IFECCoder IInterleaver

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters:

Name Type Default value Description
scramblerType string ""
fecType string ""
interleaverType string ""

Properties:

Name Value Description
display i=block/blackboard
class APSKEncoder

Source code:

//
// This module is part of a simple hypothetical layered transmitter. It computes
// the bit domain representation from the packet domain representation by applying
// the configured scrambling, forward errror correction encoding, and interleaving.
//
// See also ~APSKDecoder, ~APSKLayeredReceiver.
//
module APSKEncoder like IEncoder
{
    parameters:
        string scramblerType = default("");
        string fecType = default("");
        string interleaverType = default("");
        @display("i=block/blackboard");
        @class(APSKEncoder);

    submodules:
        scrambler: <scramblerType> like IScrambler if scramblerType != "" {
            @display("p=100,50");
        }
        fecEncoder: <fecType> like IFECCoder if fecType != "" {
            @display("p=100,150");
        }
        interleaver: <interleaverType> like IInterleaver if interleaverType != "" {
            @display("p=100,250");
        }
}