#include <mesh-information-element-vector.h>
Public Member Functions | |
virtual uint32_t | DeserializeSingleIe (Buffer::Iterator start) |
Needed when you try to deserialize a lonely IE inside other header. More... | |
![]() | |
WifiInformationElementVector () | |
~WifiInformationElementVector () | |
bool | AddInformationElement (Ptr< WifiInformationElement > element) |
add an IE, if maxSize has exceeded, returns false More... | |
Iterator | Begin () |
Returns Begin of the vector. More... | |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
Iterator | End () |
Returns End of the vector. More... | |
Ptr< WifiInformationElement > | FindFirst (WifiInformationElementId id) const |
vector of pointers to information elements is the body of IeVector More... | |
TypeId | GetInstanceTypeId () const |
virtual uint32_t | GetSerializedSize () const |
virtual bool | operator== (const WifiInformationElementVector &a) const |
Check if the given WifiInformationElementVectors are equivalent. More... | |
virtual void | Print (std::ostream &os) const |
virtual void | Serialize (Buffer::Iterator start) const |
void | SetMaxSize (uint16_t size) |
Set maximum size to control overflow of the max packet length. More... | |
![]() | |
virtual | ~Header () |
![]() | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Additional Inherited Members | |
![]() | |
typedef std::vector< Ptr < WifiInformationElement > >::iterator | Iterator |
As soon as this is a vector, we define an Iterator. More... | |
![]() | |
static TypeId | GetTypeId () |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
![]() | |
typedef std::vector< Ptr < WifiInformationElement > > | IE_VECTOR |
typedef for a vector of WifiInformationElements. More... | |
![]() | |
uint32_t | GetSize () const |
Current number of bytes. More... | |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
This method is invoked once all member attributes have been initialized. More... | |
![]() | |
IE_VECTOR | m_elements |
Information element vector. More... | |
uint16_t | m_maxSize |
Size in bytes (actually, max packet length) More... | |
Definition at line 30 of file mesh-information-element-vector.h.
|
virtual |
Needed when you try to deserialize a lonely IE inside other header.
start | is the start of the buffer |
Reimplemented from ns3::WifiInformationElementVector.
Definition at line 40 of file mesh-information-element-vector.cc.
References ns3::WifiInformationElement::DeserializeInformationField(), ns3::WifiInformationElementVector::DeserializeSingleIe(), ns3::Buffer::Iterator::GetDistanceFrom(), ns3::WifiInformationElementVector::GetSize(), IE11S_BEACON_TIMING, IE11S_LINK_METRIC_REPORT, IE11S_MESH_CONFIGURATION, IE11S_MESH_ID, IE11S_MESH_PEERING_PROTOCOL_VERSION, IE11S_PEERING_MANAGEMENT, IE11S_PERR, IE11S_PREP, IE11S_PREQ, IE11S_RANN, ns3::WifiInformationElementVector::m_elements, ns3::WifiInformationElementVector::m_maxSize, ns3::Buffer::Iterator::Next(), NS_FATAL_ERROR, ns3::Buffer::Iterator::Prev(), ns3::Buffer::Iterator::ReadU8(), and visualizer.core::start().