#include <epc-x2-header.h>
Public Member Functions | |
EpcX2ResourceStatusUpdateHeader () | |
virtual | ~EpcX2ResourceStatusUpdateHeader () |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
std::vector < EpcX2Sap::CellMeasurementResultItem > | GetCellMeasurementResultList () const |
uint16_t | GetEnb1MeasurementId () const |
uint16_t | GetEnb2MeasurementId () const |
virtual TypeId | GetInstanceTypeId (void) const |
uint32_t | GetLengthOfIes () const |
uint32_t | GetNumberOfIes () const |
virtual uint32_t | GetSerializedSize (void) const |
virtual void | Print (std::ostream &os) const |
virtual void | Serialize (Buffer::Iterator start) const |
void | SetCellMeasurementResultList (std::vector< EpcX2Sap::CellMeasurementResultItem > cellMeasurementResultList) |
void | SetEnb1MeasurementId (uint16_t enb1MeasurementId) |
void | SetEnb2MeasurementId (uint16_t enb2MeasurementId) |
![]() | |
virtual | ~Header () |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Private Attributes | |
std::vector < EpcX2Sap::CellMeasurementResultItem > | m_cellMeasurementResultList |
uint16_t | m_enb1MeasurementId |
uint16_t | m_enb2MeasurementId |
uint32_t | m_headerLength |
uint32_t | m_numberOfIes |
Additional Inherited Members | |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
Doxygen introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.
Definition at line 306 of file epc-x2-header.h.
ns3::EpcX2ResourceStatusUpdateHeader::EpcX2ResourceStatusUpdateHeader | ( | ) |
Definition at line 1311 of file epc-x2-header.cc.
References m_cellMeasurementResultList.
|
virtual |
Definition at line 1320 of file epc-x2-header.cc.
References m_cellMeasurementResultList, m_enb1MeasurementId, m_enb2MeasurementId, m_headerLength, and m_numberOfIes.
|
virtual |
start | an iterator which points to where the header should written. |
This method is used by Packet::RemoveHeader to re-create a header from the byte buffer of a packet. The data read is expected to match bit-for-bit the representation of this header in real networks.
Implements ns3::Header.
Definition at line 1387 of file epc-x2-header.cc.
References ns3::EpcX2Sap::CompositeAvailCapacity::capacityValue, ns3::EpcX2Sap::CompositeAvailCapacity::cellCapacityClassValue, ns3::EpcX2Sap::CellMeasurementResultItem::dlCompositeAvailableCapacity, ns3::EpcX2Sap::CellMeasurementResultItem::dlGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::dlHardwareLoadIndicator, ns3::EpcX2Sap::CellMeasurementResultItem::dlNonGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::dlS1TnlLoadIndicator, ns3::EpcX2Sap::CellMeasurementResultItem::dlTotalPrbUsage, GetSerializedSize(), m_cellMeasurementResultList, m_enb1MeasurementId, m_enb2MeasurementId, m_headerLength, m_numberOfIes, ns3::Buffer::Iterator::ReadNtohU16(), ns3::Buffer::Iterator::ReadU8(), ns3::EpcX2Sap::CellMeasurementResultItem::sourceCellId, visualizer.core::start(), ns3::EpcX2Sap::CellMeasurementResultItem::ulCompositeAvailableCapacity, ns3::EpcX2Sap::CellMeasurementResultItem::ulGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::ulHardwareLoadIndicator, ns3::EpcX2Sap::CellMeasurementResultItem::ulNonGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::ulS1TnlLoadIndicator, and ns3::EpcX2Sap::CellMeasurementResultItem::ulTotalPrbUsage.
std::vector< EpcX2Sap::CellMeasurementResultItem > ns3::EpcX2ResourceStatusUpdateHeader::GetCellMeasurementResultList | ( | ) | const |
Definition at line 1459 of file epc-x2-header.cc.
References m_cellMeasurementResultList.
Referenced by ns3::EpcX2::RecvFromX2cSocket().
uint16_t ns3::EpcX2ResourceStatusUpdateHeader::GetEnb1MeasurementId | ( | ) | const |
Definition at line 1435 of file epc-x2-header.cc.
References m_enb1MeasurementId.
Referenced by ns3::EpcX2::RecvFromX2cSocket().
uint16_t ns3::EpcX2ResourceStatusUpdateHeader::GetEnb2MeasurementId | ( | ) | const |
Definition at line 1447 of file epc-x2-header.cc.
References m_enb2MeasurementId.
Referenced by ns3::EpcX2::RecvFromX2cSocket().
|
virtual |
This method is typically implemented by ns3::Object::GetInstanceTypeId but some classes which derive from ns3::ObjectBase directly have to implement it themselves.
Implements ns3::ObjectBase.
Definition at line 1340 of file epc-x2-header.cc.
References GetTypeId().
uint32_t ns3::EpcX2ResourceStatusUpdateHeader::GetLengthOfIes | ( | ) | const |
Definition at line 1474 of file epc-x2-header.cc.
References m_headerLength.
Referenced by ns3::EpcX2::DoSendResourceStatusUpdate().
uint32_t ns3::EpcX2ResourceStatusUpdateHeader::GetNumberOfIes | ( | ) | const |
Definition at line 1480 of file epc-x2-header.cc.
References m_numberOfIes.
Referenced by ns3::EpcX2::DoSendResourceStatusUpdate().
|
virtual |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. This method should return the number of bytes which are needed to store the full header data by Serialize.
Implements ns3::Header.
Definition at line 1346 of file epc-x2-header.cc.
References m_headerLength.
Referenced by Deserialize().
|
static |
Reimplemented from ns3::Header.
Definition at line 1330 of file epc-x2-header.cc.
References ns3::TypeId::SetParent().
Referenced by GetInstanceTypeId().
|
virtual |
os | output stream This method is used by Packet::Print to print the content of a trailer as ascii data to a c++ output stream. Although the trailer is free to format its output as it wishes, it is recommended to follow a few rules to integrate with the packet pretty printer: start with flags, small field values located between a pair of parens. Values should be separated by whitespace. Follow the parens with the important fields, separated by whitespace. i.e.: (field1 val1 field2 val2 field3 val3) field4 val4 field5 val5 |
Implements ns3::Header.
Definition at line 1427 of file epc-x2-header.cc.
References m_cellMeasurementResultList, m_enb1MeasurementId, and m_enb2MeasurementId.
|
virtual |
start | an iterator which points to where the header should be written. |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. The data written is expected to match bit-for-bit the representation of this header in a real network.
Implements ns3::Header.
Definition at line 1352 of file epc-x2-header.cc.
References ns3::EpcX2Sap::CompositeAvailCapacity::capacityValue, ns3::EpcX2Sap::CompositeAvailCapacity::cellCapacityClassValue, ns3::EpcX2Sap::CellMeasurementResultItem::dlCompositeAvailableCapacity, ns3::EpcX2Sap::CellMeasurementResultItem::dlGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::dlHardwareLoadIndicator, ns3::EpcX2Sap::CellMeasurementResultItem::dlNonGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::dlS1TnlLoadIndicator, ns3::EpcX2Sap::CellMeasurementResultItem::dlTotalPrbUsage, m_cellMeasurementResultList, m_enb1MeasurementId, m_enb2MeasurementId, ns3::EpcX2Sap::CellMeasurementResultItem::sourceCellId, visualizer.core::start(), ns3::EpcX2Sap::CellMeasurementResultItem::ulCompositeAvailableCapacity, ns3::EpcX2Sap::CellMeasurementResultItem::ulGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::ulHardwareLoadIndicator, ns3::EpcX2Sap::CellMeasurementResultItem::ulNonGbrPrbUsage, ns3::EpcX2Sap::CellMeasurementResultItem::ulS1TnlLoadIndicator, ns3::EpcX2Sap::CellMeasurementResultItem::ulTotalPrbUsage, ns3::Buffer::Iterator::WriteHtonU16(), and ns3::Buffer::Iterator::WriteU8().
void ns3::EpcX2ResourceStatusUpdateHeader::SetCellMeasurementResultList | ( | std::vector< EpcX2Sap::CellMeasurementResultItem > | cellMeasurementResultList | ) |
Definition at line 1465 of file epc-x2-header.cc.
References m_cellMeasurementResultList, and m_headerLength.
Referenced by ns3::EpcX2::DoSendResourceStatusUpdate().
void ns3::EpcX2ResourceStatusUpdateHeader::SetEnb1MeasurementId | ( | uint16_t | enb1MeasurementId | ) |
Definition at line 1441 of file epc-x2-header.cc.
References m_enb1MeasurementId.
Referenced by ns3::EpcX2::DoSendResourceStatusUpdate().
void ns3::EpcX2ResourceStatusUpdateHeader::SetEnb2MeasurementId | ( | uint16_t | enb2MeasurementId | ) |
Definition at line 1453 of file epc-x2-header.cc.
References m_enb2MeasurementId.
Referenced by ns3::EpcX2::DoSendResourceStatusUpdate().
|
private |
Definition at line 338 of file epc-x2-header.h.
Referenced by Deserialize(), EpcX2ResourceStatusUpdateHeader(), GetCellMeasurementResultList(), Print(), Serialize(), SetCellMeasurementResultList(), and ~EpcX2ResourceStatusUpdateHeader().
|
private |
Definition at line 336 of file epc-x2-header.h.
Referenced by Deserialize(), GetEnb1MeasurementId(), Print(), Serialize(), SetEnb1MeasurementId(), and ~EpcX2ResourceStatusUpdateHeader().
|
private |
Definition at line 337 of file epc-x2-header.h.
Referenced by Deserialize(), GetEnb2MeasurementId(), Print(), Serialize(), SetEnb2MeasurementId(), and ~EpcX2ResourceStatusUpdateHeader().
|
private |
Definition at line 334 of file epc-x2-header.h.
Referenced by Deserialize(), GetLengthOfIes(), GetSerializedSize(), SetCellMeasurementResultList(), and ~EpcX2ResourceStatusUpdateHeader().
|
private |
Definition at line 333 of file epc-x2-header.h.
Referenced by Deserialize(), GetNumberOfIes(), and ~EpcX2ResourceStatusUpdateHeader().