Helper class used to install FLAME mesh stack (actually single protocol in this stack) More...
#include <flame-installer.h>
Public Member Functions | |
FlameStack () | |
~FlameStack () | |
void | DoDispose () |
bool | InstallStack (Ptr< MeshPointDevice > mp) |
Install a flame stack on the given MeshPointDevice. | |
void | Report (const Ptr< MeshPointDevice > mp, std::ostream &) |
Print flame protocol statistics. | |
void | ResetStats (const Ptr< MeshPointDevice > mp) |
Reset the statistics. |
Static Public Member Functions | |
static TypeId | GetTypeId () |
This method returns the TypeId associated to ns3::FlameStack. |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoStart (void) |
virtual void | NotifyNewAggregate (void) |
Helper class used to install FLAME mesh stack (actually single protocol in this stack)
Definition at line 34 of file flame-installer.h.
ns3::FlameStack::FlameStack | ( | ) |
Construct a FlameStack helper class.
Definition at line 38 of file flame-installer.cc.
ns3::FlameStack::~FlameStack | ( | ) |
Destroy a FlameStack helper class.
Definition at line 41 of file flame-installer.cc.
|
virtual |
Break any reference cycles in the installer helper. Required for ns-3 Object support.
Reimplemented from ns3::Object.
Definition at line 45 of file flame-installer.cc.
|
static |
This method returns the TypeId associated to ns3::FlameStack.
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
Definition at line 31 of file flame-installer.cc.
References ns3::TypeId::SetParent().
|
virtual |
Install a flame stack on the given MeshPointDevice.
mp | The Ptr<MeshPointDevice> to use. |
Implements ns3::MeshStack.
Definition at line 49 of file flame-installer.cc.
References ns3::flame::FlameProtocol::Install().
|
virtual |
Print flame protocol statistics.
Implements ns3::MeshStack.
Definition at line 55 of file flame-installer.cc.
References ns3::Object::GetObject(), NS_ASSERT, ns3::flame::FlameProtocol::Report(), and ns3::MeshPointDevice::Report().
|
virtual |
Reset the statistics.
Implements ns3::MeshStack.
Definition at line 64 of file flame-installer.cc.
References ns3::Object::GetObject(), NS_ASSERT, ns3::flame::FlameProtocol::ResetStats(), and ns3::MeshPointDevice::ResetStats().