Simple Module RCBurstTrafficSourceApp

Package: core4inet.applications.trafficsource.AS6802
File: src/core4inet/applications/trafficsource/AS6802/RCBurstTrafficSourceApp.ned

C++ definition

Traffic source application used for rate-constrained traffic generators with burst behavior.

See also: ~RCTrafficSourceApp

Author: Philipp Meyer

RCBurstTrafficSourceApp

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
RCTrafficSourceApp simple module

Traffic source application used for rate-constrained traffic generators.

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

enabled bool true

Trafficsource enabled or disabled

startTime double 0s

Start time

payload int 46Byte

Size of the payload of the message (size of encapsulated cPacket) that is being generated

ct_id int -1

Critical traffic identifier of the message that is being generated (-1) means don't set ID

oscillator string "^.scheduler.oscillator"

Oscillator of Scheduler this app is assigned to

timer string "^.scheduler.timer"

Timer of Scheduler this app is assigned to

interval double

Sending interval for the rate constrained messages (any build in disstribution can be used)

burstInterval double

Burst interval for the rate constrained messages

nrOfFramesInOneBurst int 1

Number of frames to be send in one burstinterval

Properties:

Name Value Description
class RCBurstTrafficSourceApp
display i=,orange

Gates:

Name Direction Size Description
schedulerIn input

Input gate for the incoming Scheduler messages

Signals:

Name Type Unit
payloadSignal

Statistics:

Name Title Source Record Unit Interpolation Mode
payloadOverTime payload over time payloadSignal stats?, histogram?, vector? B linear

Source code:

//
// Traffic source application used for rate-constrained traffic generators with burst behavior.
//
// @see ~RCTrafficSourceApp
//
// @author Philipp Meyer
//
simple RCBurstTrafficSourceApp extends RCTrafficSourceApp
{
    parameters:
        @class(RCBurstTrafficSourceApp);

        //Burst interval for the rate constrained messages
        volatile double burstInterval @unit(s);
        //Number of frames to be send in one burstinterval
        int nrOfFramesInOneBurst = default(1);
}