Simple Module CTApplicationBase

Package: core4inet.applications.AS6802
File: src/core4inet/applications/AS6802/CTApplicationBase.ned

C++ definition

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

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

See also: ~ApplicationBase, ~TTEAPIApplicationBase

Author: Till Steinbach

CTApplicationBase

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.

Extends:

Name Type Description
ApplicationBase simple module

Abstract base application used for Ethernet-Application application models.

Known subclasses:

Name Type Description
TicApp simple module

Tic(1,2) Application used for the rt_tictoc example. Sends TT messages with Tic(1,2)-Request payload and receives RC messages with Toc(1,2)-Response payload.

TocApp simple module

Toc(1,2) Application used for the rt_tictoc example. Receives TT messages with Tic(1,2)-Request payload and answers with RC messages with Toc(1,2)-Response payload.

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

TTin input

Input gate for the incoming time-triggered messages

RCin input

Input gate for the incoming rate-constrained messages

Source code:

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

    gates:
        //Input gate for the incoming time-triggered messages
        input TTin @directIn @labels(TTFrame);
        //Input gate for the incoming rate-constrained messages
        input RCin @directIn @labels(RCFrame);
}