Simple Module BGBuffer

Package: ttethernet.buffer
File: src/buffer/BGBuffer.ned

C++ definition

Represents an abstract Buffer for background traffic. Messages are sent immediatly to the LLC

WARNING: Do not instantiate the module. Use BGQueueBuffer instead!

TODO: The BGBuffer module should be converted to an interface since it should not be used directly in simulation.

See also: BGQueueBuffer, Buffer, SchedulerActionTimeEvent, TTEScheduler

Author: Till Steinbach

BGBuffer

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

Abstract base Buffer used for the various Buffers of TTEthernet. Since this is an abstract module please do not instantiate it

Known subclasses:

Name Type Description
BGQueueBuffer simple module

Represents a queue buffer for background traffic. Messages are sent immediatly to LLC

Parameters:

Name Type Default value Description
destination_gates string ""

Priority of the buffer (currently only used for rate-constrained traffic) int priority=default(-1); Critical traffic ID of the buffer int ct_id=default(0); Critical traffic marker of the buffer int ct_marker=default(0); Critical traffic mask of the buffer int ct_mask=default(0); Comma seperated list of gates where the frames of the buffer are delivered

Properties:

Name Value Description
display i=,green
class BGBuffer

BGBuffer is implemented by the BGBuffer C++ Class

Gates:

Name Direction Size Description
in input

The buffers Input

out output

The buffers Output

WARNING: CURRENTLY NOT USED!

Statistics:

Name Title Source Record Unit Interpolation Mode
txPk TX Packets count, vector
latency End-to-end latency stats, histogram, vector s

Source code:

//
// Represents an abstract Buffer for background traffic. Messages are sent immediatly to the LLC
//
//
// @warning Do not instantiate the module. Use BGQueueBuffer instead!
//
// @todo The BGBuffer module should be converted to an interface since it should
// not be used directly in simulation.
//
// @see BGQueueBuffer, Buffer, SchedulerActionTimeEvent, TTEScheduler
//
// @author Till Steinbach
simple BGBuffer extends Buffer
{
    parameters:
        //BGBuffer is implemented by the BGBuffer C++ Class
        @class(BGBuffer);
        @display("i=,green");
}