Public Member Functions | |
virtual uint32_t | DeserializeSingleIe (Buffer::Iterator start) |
Needed when you try to deserialize a lonely IE inside other header. More... | |
Public Member Functions inherited from ns3::WifiInformationElementVector | |
bool | AddInformationElement (Ptr< WifiInformationElement > element) |
add an IE, if maxSize has exceeded, returns false | |
Iterator | Begin () |
Returns Begin of the vector. | |
Iterator | End () |
Returns End of the vector. | |
Ptr< WifiInformationElement > | FindFirst (WifiInformationElementId id) const |
vector of pointers to information elements is the body of IeVector | |
virtual bool | operator== (const WifiInformationElementVector &a) const |
void | SetMaxSize (uint16_t size) |
Set maximum size to control overflow of the max packet length. | |
TypeId | GetInstanceTypeId () const |
virtual uint32_t | GetSerializedSize () const |
virtual void | Serialize (Buffer::Iterator start) const |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
virtual void | Print (std::ostream &os) const |
Public Member Functions inherited from ns3::ObjectBase | |
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 | |
Public Types inherited from ns3::WifiInformationElementVector | |
typedef std::vector< Ptr < WifiInformationElement > >::iterator | Iterator |
As soon as this is a vector, we define an Iterator. | |
Static Public Member Functions inherited from ns3::WifiInformationElementVector | |
static TypeId | GetTypeId () |
Static Public Member Functions inherited from ns3::Header | |
static TypeId | GetTypeId (void) |
Static Public Member Functions inherited from ns3::Chunk | |
static TypeId | GetTypeId (void) |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId (void) |
Protected Types inherited from ns3::WifiInformationElementVector | |
typedef std::vector< Ptr < WifiInformationElement > > | IE_VECTOR |
Protected Member Functions inherited from ns3::WifiInformationElementVector | |
uint32_t | GetSize () const |
Current number of bytes. | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
Protected Attributes inherited from ns3::WifiInformationElementVector | |
IE_VECTOR | m_elements |
uint16_t | m_maxSize |
Size in bytes (actually, max packet length) | |
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(), ns3::WifiInformationElementVector::m_maxSize, ns3::Buffer::Iterator::Next(), NS_FATAL_ERROR, ns3::Buffer::Iterator::Prev(), and ns3::Buffer::Iterator::ReadU8().