Simple Module ApplicationBase

Package: core4inet.applications.base
File: src/core4inet/applications/base/ApplicationBase.ned

C++ definition

Abstract base application used for Ethernet-Application application models.

WARNING: Since this is an abstract module please do not instantiate it!

See also: ~IApplication, ~TTEAPIApplicationBase

Author: Till Steinbach

ApplicationBase

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Known subclasses:

Name Type Description
CTApplicationBase simple module

Abstract base application used for real-time Ethernet-Application application models.

MultiCTTrafficSinkApp simple module

Traffic sink application used for statistics collection of multiple different virtual links with critical traffic.

TrafficSinkApp simple module

Traffic sink application used for statistics collection.

TrafficSourceAppBase simple module

Abstract base traffic source application used for various traffic generators. Uses CTFrame with encapsulated cPacket as payload Since this is an abstract module please do not instantiate it

TTEAPIApplicationBase simple module

Base module for a TTEthernet-Application based on the TTEthernet-API.

Parameters:

Name Type Default value Description
displayName string ""

Name shown above the module

buffers string ""

Comma seperated list of buffer modules the application is allowed to use

buffers_manual bool false

If true, buffer management is not used. Applications use their own methods to locate buffers

Properties:

Name Value Description
class AbstractSimpleModule
display i=block/app

Gates:

Name Direction Size Description
schedulerIn input

Input gate for the incoming Scheduler messages

Source code:

//
// Abstract base application used for Ethernet-Application application models.
//
// @warning Since this is an abstract module please do not instantiate it!
//
// @see ~IApplication, ~TTEAPIApplicationBase
//
// @author Till Steinbach
//
simple ApplicationBase like IApplication
{
    parameters:
        @class(AbstractSimpleModule);
        @display("i=block/app");

        //Name shown above the module
        string displayName = default("");

        //Comma seperated list of buffer modules the application is allowed to use
        string buffers = default("");

        //If true, buffer management is not used. Applications use their own methods to locate buffers
        bool buffers_manual = default(false);
    gates:
        //Input gate for the incoming Scheduler messages
        input schedulerIn @directIn @label(SchedulerMessage);
}