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 |
|---|---|---|
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 |
|---|---|---|
class |
@class FlowControlInfo @brief Contains flow information in layers above the MAC |
|
class |
@class UserControlInfo @brief contains information flowing from Mac to Phy |
Fields¶
Name |
Type |
Description |
|---|---|---|
sourceId |
Source MacNodeId |
|
destId |
Destination MacNodeId |
|
direction |
Traffic Direction (UL, DL, D2D) |
|
d2dTxPeerId |
||
d2dRxPeerId |
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;
}