This class manages the serialization/deserialization of HandoverPreparationInfo IE. More...
#include "lte-rrc-header.h"
Public Member Functions | |
HandoverPreparationInfoHeader () | |
uint32_t | Deserialize (Buffer::Iterator bIterator) |
LteRrcSap::AsConfig | GetAsConfig () const |
Getter for m_asConfig. More... | |
LteRrcSap::HandoverPreparationInfo | GetMessage () const |
Returns a HandoverPreparationInfo IE from the values in the class attributes. More... | |
void | PreSerialize () const |
This function serializes class attributes to m_serializationResult local Buffer. More... | |
void | Print (std::ostream &os) const |
This function prints the object, for debugging purposes. More... | |
void | SetMessage (LteRrcSap::HandoverPreparationInfo msg) |
Receives a HandoverPreparationInfo IE and stores the contents into the class attributes. More... | |
Public Member Functions inherited from ns3::RrcAsn1Header | |
RrcAsn1Header () | |
int | GetMessageType () |
Get message type. More... | |
Public Member Functions inherited from ns3::Asn1Header | |
Asn1Header () | |
virtual | ~Asn1Header () |
uint32_t | GetSerializedSize (void) const |
void | Serialize (Buffer::Iterator bIterator) const |
Public Member Functions inherited from ns3::Header | |
virtual | ~Header () |
virtual uint32_t | Deserialize (Buffer::Iterator start, Buffer::Iterator end) |
Deserialize the object from a buffer iterator. More... | |
virtual uint32_t | Deserialize (Buffer::Iterator start)=0 |
Deserialize the object from a buffer iterator. More... | |
Public Member Functions inherited from ns3::Chunk | |
virtual uint32_t | Deserialize (Buffer::Iterator start, Buffer::Iterator end) |
Deserialize the object from a buffer iterator. More... | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
Get the value of an attribute, raising fatal errors if unsuccessful. More... | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising erros. More... | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. More... | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. More... | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. More... | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. More... | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. More... | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. More... | |
Private Attributes | |
LteRrcSap::AsConfig | m_asConfig |
AS config. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::Asn1Header | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::Header | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::Chunk | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Protected Member Functions inherited from ns3::RrcAsn1Header | |
int | BandwidthToEnum (uint8_t bandwidth) const |
Convert from bandwidth (in RBs) to ENUMERATED value. More... | |
Buffer::Iterator | DeserializeCellIdentification (LteRrcSap::CellIdentification *ci, Buffer::Iterator bIterator) |
Deserialize cell identification function. More... | |
Buffer::Iterator | DeserializeDrbToAddModList (std::list< LteRrcSap::DrbToAddMod > *drbToAddModLis, Buffer::Iterator bIterator) |
Deserialize DRB to add mod list function. More... | |
Buffer::Iterator | DeserializeLogicalChannelConfig (LteRrcSap::LogicalChannelConfig *logicalChannelConfig, Buffer::Iterator bIterator) |
Deserialize logical channel config function. More... | |
Buffer::Iterator | DeserializeMeasConfig (LteRrcSap::MeasConfig *measConfig, Buffer::Iterator bIterator) |
Deserialize measure config function. More... | |
Buffer::Iterator | DeserializeMeasResults (LteRrcSap::MeasResults *measResults, Buffer::Iterator bIterator) |
Deserialize measure results function. More... | |
Buffer::Iterator | DeserializeNonCriticalExtensionConfig (LteRrcSap::NonCriticalExtensionConfiguration *nonCriticalExtension, Buffer::Iterator bIterator) |
Deserialize non critical extension config function. More... | |
Buffer::Iterator | DeserializePhysicalConfigDedicated (LteRrcSap::PhysicalConfigDedicated *physicalConfigDedicated, Buffer::Iterator bIterator) |
Deserialize physical config dedicated function. More... | |
Buffer::Iterator | DeserializePhysicalConfigDedicatedSCell (LteRrcSap::PhysicalConfigDedicatedSCell *pcdsc, Buffer::Iterator bIterator) |
Deserialize physical config dedicated SCell function. More... | |
Buffer::Iterator | DeserializePlmnIdentity (uint32_t *plmnId, Buffer::Iterator bIterator) |
Deserialize PLMN identity function. More... | |
Buffer::Iterator | DeserializeQoffsetRange (int8_t *qOffsetRange, Buffer::Iterator bIterator) |
Deserialize Qoffset range function. More... | |
Buffer::Iterator | DeserializeRachConfigCommon (LteRrcSap::RachConfigCommon *rachConfigCommon, Buffer::Iterator bIterator) |
Deserialize RACH config common function. More... | |
Buffer::Iterator | DeserializeRadioResourceConfigCommon (LteRrcSap::RadioResourceConfigCommon *radioResourceConfigCommon, Buffer::Iterator bIterator) |
Deserialize radio resource config common function. More... | |
Buffer::Iterator | DeserializeRadioResourceConfigCommonSCell (LteRrcSap::RadioResourceConfigCommonSCell *rrccsc, Buffer::Iterator bIterator) |
Deserialize radio resource config common SCell function. More... | |
Buffer::Iterator | DeserializeRadioResourceConfigCommonSib (LteRrcSap::RadioResourceConfigCommonSib *radioResourceConfigCommonSib, Buffer::Iterator bIterator) |
Deserialize radio resource config common SIB function. More... | |
Buffer::Iterator | DeserializeRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated *radioResourceConfigDedicated, Buffer::Iterator bIterator) |
Deserialize radio resource config dedicated function. More... | |
Buffer::Iterator | DeserializeRadioResourceConfigDedicatedSCell (LteRrcSap::RadioResourceConfigDedicatedSCell *rrcdsc, Buffer::Iterator bIterator) |
Deserialize radio resource config dedicated SCell function. More... | |
Buffer::Iterator | DeserializeSrbToAddModList (std::list< LteRrcSap::SrbToAddMod > *srbToAddModList, Buffer::Iterator bIterator) |
Deserialize SRB to add mod list function. More... | |
Buffer::Iterator | DeserializeSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 *systemInformationBlockType1, Buffer::Iterator bIterator) |
Deserialize system information block type 1 function. More... | |
Buffer::Iterator | DeserializeSystemInformationBlockType2 (LteRrcSap::SystemInformationBlockType2 *systemInformationBlockType2, Buffer::Iterator bIterator) |
Deserialize system information block type 2 function. More... | |
Buffer::Iterator | DeserializeThresholdEutra (LteRrcSap::ThresholdEutra *thresholdEutra, Buffer::Iterator bIterator) |
Deserialize threshold eutra function. More... | |
uint8_t | EnumToBandwidth (int n) const |
Convert from ENUMERATED value to bandwidth (in RBs) More... | |
virtual TypeId | GetInstanceTypeId (void) const |
Get the most derived TypeId for this Object. More... | |
void | Print (std::ostream &os, LteRrcSap::RadioResourceConfigDedicated radioResourceConfigDedicated) const |
This function prints RadioResourceConfigDedicated IE, for debugging purposes. More... | |
void | SerializeDrbToAddModList (std::list< LteRrcSap::DrbToAddMod > drbToAddModList) const |
Serialize DRB to add mod list function. More... | |
void | SerializeLogicalChannelConfig (LteRrcSap::LogicalChannelConfig logicalChannelConfig) const |
Serialize logicala channel config function. More... | |
void | SerializeMeasConfig (LteRrcSap::MeasConfig measConfig) const |
Serialize measure config function. More... | |
void | SerializeMeasResults (LteRrcSap::MeasResults measResults) const |
Serialize measure results function. More... | |
void | SerializeNonCriticalExtensionConfiguration (LteRrcSap::NonCriticalExtensionConfiguration nonCriticalExtensionConfiguration) const |
Serialize non critical extension config function. More... | |
void | SerializePhysicalConfigDedicated (LteRrcSap::PhysicalConfigDedicated physicalConfigDedicated) const |
Serialize physical config dedicated function. More... | |
void | SerializePhysicalConfigDedicatedSCell (LteRrcSap::PhysicalConfigDedicatedSCell pcdsc) const |
Serialize physical config dedicated function. More... | |
void | SerializePlmnIdentity (uint32_t plmnId) const |
Serialize PLMN identity function. More... | |
void | SerializeQoffsetRange (int8_t qOffsetRange) const |
Serialize Q offset range function. More... | |
void | SerializeRachConfigCommon (LteRrcSap::RachConfigCommon rachConfigCommon) const |
Serialize RACH config common function. More... | |
void | SerializeRadioResourceConfigCommon (LteRrcSap::RadioResourceConfigCommon radioResourceConfigCommon) const |
Serialize system information block type 2 function. More... | |
void | SerializeRadioResourceConfigCommonSCell (LteRrcSap::RadioResourceConfigCommonSCell rrccsc) const |
Serialize radio resource config common SCell function. More... | |
void | SerializeRadioResourceConfigCommonSib (LteRrcSap::RadioResourceConfigCommonSib radioResourceConfigCommonSib) const |
Serialize radio resource config common SIB function. More... | |
void | SerializeRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated radioResourceConfigDedicated) const |
Serialize radio resource config function. More... | |
void | SerializeRadioResourceDedicatedSCell (LteRrcSap::RadioResourceConfigDedicatedSCell rrcdsc) const |
Serialize radio resource dedicated SCell function. More... | |
void | SerializeSrbToAddModList (std::list< LteRrcSap::SrbToAddMod > srbToAddModList) const |
Serialize SRB to add mod list function. More... | |
void | SerializeSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 systemInformationBlockType1) const |
Serialize system information block type 1 function. More... | |
void | SerializeSystemInformationBlockType2 (LteRrcSap::SystemInformationBlockType2 systemInformationBlockType2) const |
Serialize system information block type 2 function. More... | |
void | SerializeThresholdEutra (LteRrcSap::ThresholdEutra thresholdEutra) const |
Serialize threshold eutra function. More... | |
Protected Member Functions inherited from ns3::Asn1Header | |
template<int N> | |
Buffer::Iterator | DeserializeBitset (std::bitset< N > *data, Buffer::Iterator bIterator) |
Deserialize a bitset. More... | |
Buffer::Iterator | DeserializeBitset (std::bitset< 8 > *data, Buffer::Iterator bIterator) |
Deserialize a bitset. More... | |
template<int N> | |
Buffer::Iterator | DeserializeBitstring (std::bitset< N > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 1 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 2 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 8 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 10 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 16 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 27 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 28 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBitstring (std::bitset< 32 > *bitstring, Buffer::Iterator bIterator) |
Deserialize a bitstring. More... | |
Buffer::Iterator | DeserializeBoolean (bool *value, Buffer::Iterator bIterator) |
Deserialize a boolean. More... | |
Buffer::Iterator | DeserializeChoice (int numOptions, bool isExtensionMarkerPresent, int *selectedOption, Buffer::Iterator bIterator) |
Deserialize a Choice (set of options) More... | |
Buffer::Iterator | DeserializeEnum (int numElems, int *selectedElem, Buffer::Iterator bIterator) |
Deserialize an Enum. More... | |
Buffer::Iterator | DeserializeInteger (int *n, int nmin, int nmax, Buffer::Iterator bIterator) |
Deserialize an integer. More... | |
Buffer::Iterator | DeserializeNull (Buffer::Iterator bIterator) |
Deserialize nothing (null op) More... | |
template<int N> | |
Buffer::Iterator | DeserializeSequence (std::bitset< N > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 0 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 1 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 2 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 3 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 4 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 5 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 6 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 7 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 9 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 10 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequence (std::bitset< 11 > *optionalOrDefaultMask, bool isExtensionMarkerPresent, Buffer::Iterator bIterator) |
Deserialize a sequence. More... | |
Buffer::Iterator | DeserializeSequenceOf (int *numElems, int nMax, int nMin, Buffer::Iterator bIterator) |
Deserialize a Sequence. More... | |
void | FinalizeSerialization () const |
Finalizes an in progress serialization. More... | |
template<int N> | |
void | SerializeBitset (std::bitset< N > data) const |
Serialize a bitset. More... | |
template<int N> | |
void | SerializeBitstring (std::bitset< N > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 1 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 2 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 8 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 10 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 16 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 27 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 28 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBitstring (std::bitset< 32 > bitstring) const |
Serialize a bitstring. More... | |
void | SerializeBoolean (bool value) const |
Serialize a bool. More... | |
void | SerializeChoice (int numOptions, int selectedOption, bool isExtensionMarkerPresent) const |
Serialize a Choice (set of options) More... | |
void | SerializeEnum (int numElems, int selectedElem) const |
Serialize an Enum. More... | |
void | SerializeInteger (int n, int nmin, int nmax) const |
Serialize an Integer. More... | |
void | SerializeNull () const |
Serialize nothing (null op) More... | |
template<int N> | |
void | SerializeSequence (std::bitset< N > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 0 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 1 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 2 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 3 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 4 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 5 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 6 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 7 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 9 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 10 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequence (std::bitset< 11 > optionalOrDefaultMask, bool isExtensionMarkerPresent) const |
Serialize a sequence. More... | |
void | SerializeSequenceOf (int numElems, int nMax, int nMin) const |
Serialize a Sequence. More... | |
void | WriteOctet (uint8_t octet) const |
Function to write in m_serializationResult, after resizing its size. More... | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. More... | |
virtual void | NotifyConstructionCompleted (void) |
Notifier called once the ObjectBase is fully constructed. More... | |
Static Protected Member Functions inherited from ns3::RrcAsn1Header | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Protected Attributes inherited from ns3::RrcAsn1Header | |
int | m_messageType |
Stores RRC message type, according to 3GPP TS 36.331. More... | |
Protected Attributes inherited from ns3::Asn1Header | |
bool | m_isDataSerialized |
true if data is serialized More... | |
uint8_t | m_numSerializationPendingBits |
number of pending bits More... | |
uint8_t | m_serializationPendingBits |
pending bits More... | |
Buffer | m_serializationResult |
serialization result More... | |
Related Functions inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid (void) |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. More... | |
This class manages the serialization/deserialization of HandoverPreparationInfo IE.
Definition at line 837 of file lte-rrc-header.h.
ns3::HandoverPreparationInfoHeader::HandoverPreparationInfoHeader | ( | ) |
Definition at line 5681 of file lte-rrc-header.cc.
|
virtual |
start | an iterator which points to where the header should read from. |
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.
Note that data is not actually removed from the buffer to which the iterator points. Both Packet::RemoveHeader() and Packet::PeekHeader() call Deserialize(), but only the RemoveHeader() has additional statements to remove the header bytes from the underlying buffer and associated metadata.
Implements ns3::RrcAsn1Header.
Definition at line 5760 of file lte-rrc-header.cc.
References ns3::Asn1Header::DeserializeBitstring(), ns3::Asn1Header::DeserializeChoice(), ns3::Asn1Header::DeserializeEnum(), ns3::Asn1Header::DeserializeInteger(), ns3::RrcAsn1Header::DeserializeMeasConfig(), ns3::Asn1Header::DeserializeNull(), ns3::RrcAsn1Header::DeserializeRadioResourceConfigDedicated(), ns3::Asn1Header::DeserializeSequence(), ns3::Asn1Header::DeserializeSequenceOf(), ns3::RrcAsn1Header::DeserializeSystemInformationBlockType1(), ns3::RrcAsn1Header::DeserializeSystemInformationBlockType2(), ns3::LteRrcSap::MasterInformationBlock::dlBandwidth, ns3::RrcAsn1Header::EnumToBandwidth(), ns3::Asn1Header::GetSerializedSize(), m_asConfig, MAX_EARFCN, MAX_RAT_CAPABILITIES, sample-rng-plot::n, ns3::LteRrcSap::AsConfig::sourceDlCarrierFreq, ns3::LteRrcSap::AsConfig::sourceMasterInformationBlock, ns3::LteRrcSap::AsConfig::sourceMeasConfig, ns3::LteRrcSap::AsConfig::sourceRadioResourceConfig, ns3::LteRrcSap::AsConfig::sourceSystemInformationBlockType1, ns3::LteRrcSap::AsConfig::sourceSystemInformationBlockType2, ns3::LteRrcSap::AsConfig::sourceUeIdentity, and ns3::LteRrcSap::MasterInformationBlock::systemFrameNumber.
LteRrcSap::AsConfig ns3::HandoverPreparationInfoHeader::GetAsConfig | ( | ) | const |
Getter for m_asConfig.
Definition at line 5906 of file lte-rrc-header.cc.
References m_asConfig.
LteRrcSap::HandoverPreparationInfo ns3::HandoverPreparationInfoHeader::GetMessage | ( | ) | const |
Returns a HandoverPreparationInfo IE from the values in the class attributes.
Definition at line 5897 of file lte-rrc-header.cc.
References ns3::LteRrcSap::HandoverPreparationInfo::asConfig, and m_asConfig.
Referenced by ns3::LteEnbRrcProtocolReal::DoDecodeHandoverPreparationInformation().
|
virtual |
This function serializes class attributes to m_serializationResult local Buffer.
As ASN1 encoding produces a bitstream that does not have a fixed length, this function is needed to store the result, so its length can be retrieved with Header::GetSerializedSize() function. This method is pure virtual in this class (needs to be implemented in child classes) as the meaningful information elements are in the subclasses.
Implements ns3::RrcAsn1Header.
Definition at line 5686 of file lte-rrc-header.cc.
References ns3::RrcAsn1Header::BandwidthToEnum(), ns3::LteRrcSap::MasterInformationBlock::dlBandwidth, ns3::Asn1Header::FinalizeSerialization(), m_asConfig, ns3::Asn1Header::m_serializationResult, MAX_EARFCN, MAX_RAT_CAPABILITIES, ns3::Asn1Header::SerializeBitstring(), ns3::Asn1Header::SerializeChoice(), ns3::Asn1Header::SerializeEnum(), ns3::Asn1Header::SerializeInteger(), ns3::RrcAsn1Header::SerializeMeasConfig(), ns3::RrcAsn1Header::SerializeRadioResourceConfigDedicated(), ns3::Asn1Header::SerializeSequence(), ns3::Asn1Header::SerializeSequenceOf(), ns3::RrcAsn1Header::SerializeSystemInformationBlockType1(), ns3::RrcAsn1Header::SerializeSystemInformationBlockType2(), ns3::LteRrcSap::AsConfig::sourceDlCarrierFreq, ns3::LteRrcSap::AsConfig::sourceMasterInformationBlock, ns3::LteRrcSap::AsConfig::sourceMeasConfig, ns3::LteRrcSap::AsConfig::sourceRadioResourceConfig, ns3::LteRrcSap::AsConfig::sourceSystemInformationBlockType1, ns3::LteRrcSap::AsConfig::sourceSystemInformationBlockType2, ns3::LteRrcSap::AsConfig::sourceUeIdentity, and ns3::LteRrcSap::MasterInformationBlock::systemFrameNumber.
|
virtual |
This function prints the object, for debugging purposes.
os | The output stream to use (i.e. std::cout) |
Reimplemented from ns3::RrcAsn1Header.
Definition at line 5876 of file lte-rrc-header.cc.
References ns3::LteRrcSap::SystemInformationBlockType1::cellAccessRelatedInfo, ns3::LteRrcSap::CellAccessRelatedInfo::cellIdentity, ns3::LteRrcSap::CellAccessRelatedInfo::csgIdentity, ns3::LteRrcSap::CellAccessRelatedInfo::csgIndication, ns3::LteRrcSap::MasterInformationBlock::dlBandwidth, m_asConfig, ns3::LteRrcSap::PlmnIdentityInfo::plmnIdentity, ns3::LteRrcSap::CellAccessRelatedInfo::plmnIdentityInfo, ns3::RrcAsn1Header::Print(), ns3::LteRrcSap::AsConfig::sourceDlCarrierFreq, ns3::LteRrcSap::AsConfig::sourceMasterInformationBlock, ns3::LteRrcSap::AsConfig::sourceRadioResourceConfig, ns3::LteRrcSap::AsConfig::sourceSystemInformationBlockType1, ns3::LteRrcSap::AsConfig::sourceUeIdentity, and ns3::LteRrcSap::MasterInformationBlock::systemFrameNumber.
void ns3::HandoverPreparationInfoHeader::SetMessage | ( | LteRrcSap::HandoverPreparationInfo | msg | ) |
Receives a HandoverPreparationInfo IE and stores the contents into the class attributes.
msg | The information element to parse |
Definition at line 5890 of file lte-rrc-header.cc.
References ns3::LteRrcSap::HandoverPreparationInfo::asConfig, m_asConfig, and ns3::Asn1Header::m_isDataSerialized.
Referenced by ns3::LteEnbRrcProtocolReal::DoEncodeHandoverPreparationInformation(), and HandoverPreparationInfoTestCase::DoRun().
|
private |
AS config.
Definition at line 866 of file lte-rrc-header.h.
Referenced by Deserialize(), GetAsConfig(), GetMessage(), PreSerialize(), Print(), and SetMessage().