Simple Module RCDoubleBuffer

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

C++ definition

Represents a double buffer for rate-constrained traffic. Messages are sent using the configured gandwidth alocation gap.

The buffer stores only one message at a time that is overwritten on each insert. The buffer sends a copy of the stored frame after each bag.

See also: RCBuffer, Buffer,

Author: Till Steinbach

RCDoubleBuffer

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

Represents an abstract Buffer for rate-constrained traffic. Messages are sent using the configured bandwidth allocation gap.

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

priority int -1

Priority of the buffer (currently only used for rate-constrained traffic)

ct_id int 0

Critical traffic ID of the buffer

ct_marker int 0

Critical traffic marker of the buffer

ct_mask int 0

Critical traffic mask of the buffer

max_dispatch_delay int 0

Not used

bag int 0

Bandwidth allocation gap in number of ticks (Changes to this parameter will get active for future frames only)

jitter int 0

Not used

Properties:

Name Value Description
display i=,orange
class RCDoubleBuffer

RCDoubleBuffer is implemented by the RCDoubleBuffer C++ Class

Gates:

Name Direction Size Description
in input

The buffers Input

out output

The buffers Output

WARNING: CURRENTLY NOT USED!

schedulerIn input

Input gate for the incoming SchedulerTimerEvent messages

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 a double buffer for rate-constrained traffic. Messages are sent using the configured
// gandwidth alocation gap.
//
// The buffer stores only one message at a time that is overwritten on each insert.
// The buffer sends a copy of the stored frame after each bag.
//
// @see RCBuffer, Buffer,
//
// @author Till Steinbach
simple RCDoubleBuffer extends RCBuffer
{
    //RCDoubleBuffer is implemented by the RCDoubleBuffer C++ Class
    @class(RCDoubleBuffer);

}