7#include "nr-radio-bearer-info.h"
17NS_OBJECT_ENSURE_REGISTERED(NrRadioBearerInfo);
19NrRadioBearerInfo::NrRadioBearerInfo()
23NrRadioBearerInfo::~NrRadioBearerInfo()
31 TypeId(
"ns3::NrRadioBearerInfo").SetParent<Object>().AddConstructor<NrRadioBearerInfo>();
39 TypeId(
"ns3::NrDataRadioBearerInfo")
41 .AddConstructor<NrDataRadioBearerInfo>()
42 .AddAttribute(
"DrbIdentity",
43 "The id of this Data Radio Bearer",
47 MakeUintegerChecker<uint8_t>())
48 .AddAttribute(
"EpsBearerIdentity",
49 "The id of the EPS bearer corresponding to this Data Radio Bearer",
53 MakeUintegerChecker<uint8_t>())
54 .AddAttribute(
"logicalChannelIdentity",
55 "The id of the Logical Channel corresponding to this Data Radio Bearer",
59 MakeUintegerChecker<uint8_t>())
60 .AddAttribute(
"NrRlc",
61 "RLC instance of the radio bearer.",
64 MakePointerChecker<NrRlc>())
65 .AddAttribute(
"NrPdcp",
66 "PDCP instance of the radio bearer.",
69 MakePointerChecker<NrPdcp>());
77 TypeId(
"ns3::NrSignalingRadioBearerInfo")
79 .AddConstructor<NrSignalingRadioBearerInfo>()
80 .AddAttribute(
"SrbIdentity",
81 "The id of this Signaling Radio Bearer",
85 MakeUintegerChecker<uint8_t>())
86 .AddAttribute(
"NrRlc",
87 "RLC instance of the radio bearer.",
90 MakePointerChecker<NrRlc>())
91 .AddAttribute(
"NrPdcp",
92 "PDCP instance of the radio bearer.",
95 MakePointerChecker<NrPdcp>());
static TypeId GetTypeId()
Get the type ID.
uint8_t m_logicalChannelIdentity
logical channel identity
uint8_t m_epsBearerIdentity
EPS bearer identity.
uint8_t m_drbIdentity
DRB identity.
Ptr< NrPdcp > m_pdcp
PDCP.
static TypeId GetTypeId()
Get the type ID.
uint8_t m_srbIdentity
SRB identity.
static TypeId GetTypeId()
Get the type ID.