LteControlInfo

Namespace: simu5g

class LteControlInfo

@class LteControlInfo @brief Base class for FlowControlInfo and UserControlInfo

This class contains information present in both Flow and User ControlInfo:

  • Source MAC Node ID

  • Destination MAC Node ID

  • D2D MAC Node Ids

  • Traffic Direction

  • Connection information: LCID

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

TagBase ↗

class

This is an abstract base class that should not be directly added to a message as a tag. It is used as the base class of all tags, thus it doesn’t have any fields.

Known subclasses

Name

Type

Description

FlowControlInfo

class

@class FlowControlInfo @brief Contains flow information in layers above the MAC

UserControlInfo

class

@class UserControlInfo @brief contains information flowing from Mac to Phy

Fields

Name

Type

Description

sourceId

MacNodeId

Source MacNodeId

destId

MacNodeId

Destination MacNodeId

direction

Direction

Traffic Direction (UL, DL, D2D)

d2dTxPeerId

MacNodeId

d2dRxPeerId

MacNodeId

Properties

Name

Value

Description

existingClass

Source code

//
// @class LteControlInfo
// @brief Base class for FlowControlInfo and UserControlInfo
//
// This class contains information present in both Flow and User ControlInfo:
// - Source MAC Node ID
// - Destination MAC Node ID
// - D2D MAC Node Ids
// - Traffic Direction
// - Connection information: LCID
//
class LteControlInfo extends inet::TagBase {
    MacNodeId sourceId = NODEID_NONE;                    // Source MacNodeId
    MacNodeId destId = NODEID_NONE;                      // Destination MacNodeId
    Direction direction = DL;                            // Traffic Direction (UL, DL, D2D)
    MacNodeId d2dTxPeerId = NODEID_NONE;
    MacNodeId d2dRxPeerId = NODEID_NONE;
}

File: src/simu5g/common/LteControlInfo.msg