Helper class used to install FLAME mesh stack (actually single protocol in this stack) More...
#include <flame-installer.h>
Inheritance diagram for ns3::FlameStack:
Collaboration diagram for ns3::FlameStack: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 | |
Protected Member Functions inherited from ns3::Object | |
| 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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function: