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 () |
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)
This type is not accessible from the Config system.
No Attributes are defined for this type.
No TraceSources are defined for this type.
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 |
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().