A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::Dot11sStack Class Reference

Helper class to allow easy installation of 802.11s stack. More...

#include <dot11s-installer.h>

+ Inheritance diagram for ns3::Dot11sStack:
+ Collaboration diagram for ns3::Dot11sStack:

Public Member Functions

 Dot11sStack ()
 ~Dot11sStack ()
void DoDispose ()
bool InstallStack (Ptr< MeshPointDevice > mp)
 Install an 802.11s stack.
void Report (const Ptr< MeshPointDevice > mp, std::ostream &)
 Iterate through the referenced devices and protocols and print their statistics.
void ResetStats (const Ptr< MeshPointDevice > mp)
 Reset the statistics on the referenced devices and protocols.

Static Public Member Functions

static TypeId GetTypeId ()
 This method returns the TypeId associated to ns3::Dot11sStack.

Private Attributes

Mac48Address m_root

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
virtual void DoStart (void)
virtual void NotifyNewAggregate (void)

Detailed Description

Helper class to allow easy installation of 802.11s stack.

Definition at line 31 of file dot11s-installer.h.

Constructor & Destructor Documentation

ns3::Dot11sStack::Dot11sStack ( )

Create a Dot11sStack() installer helper.

Definition at line 42 of file dot11s-installer.cc.

ns3::Dot11sStack::~Dot11sStack ( )

Destroy a Dot11sStack() installer helper.

Definition at line 46 of file dot11s-installer.cc.

Member Function Documentation

void ns3::Dot11sStack::DoDispose ( void  )
virtual

Break any reference cycles in the installer helper. Required for ns-3 Object support.

Reimplemented from ns3::Object.

Definition at line 50 of file dot11s-installer.cc.

TypeId ns3::Dot11sStack::GetTypeId ( void  )
static

This method returns the TypeId associated to ns3::Dot11sStack.

Attributes defined for this type:

  • Root: The MAC address of root mesh point.

No TraceSources defined for this type.

Reimplemented from ns3::Object.

Definition at line 30 of file dot11s-installer.cc.

References m_root, and ns3::TypeId::SetParent().

+ Here is the call graph for this function:

void ns3::Dot11sStack::Report ( const Ptr< MeshPointDevice mp,
std::ostream &  os 
)
virtual

Iterate through the referenced devices and protocols and print their statistics.

Implements ns3::MeshStack.

Definition at line 82 of file dot11s-installer.cc.

References ns3::MeshPointDevice::GetInterfaces(), ns3::Object::GetObject(), NS_ASSERT, ns3::dot11s::HwmpProtocol::Report(), ns3::MeshPointDevice::Report(), ns3::MeshWifiInterfaceMac::Report(), and ns3::dot11s::PeerManagementProtocol::Report().

+ Here is the call graph for this function:

void ns3::Dot11sStack::ResetStats ( const Ptr< MeshPointDevice mp)
virtual

Member Data Documentation

Mac48Address ns3::Dot11sStack::m_root
private

Definition at line 72 of file dot11s-installer.h.

Referenced by GetTypeId(), and InstallStack().


The documentation for this class was generated from the following files: