LteControlInfo

Namespace simu5g

LteControlInfo

class

@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

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the 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.

Fields

Name Type Description
sourceId MacNodeId

Source MacNodeId

destId MacNodeId

Destination MacNodeId

direction Direction

Traffic Direction (UL, DL, D2D)

d2dTxPeerId MacNodeId
d2dRxPeerId MacNodeId

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