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. |
Helper class used to install FLAME mesh stack (actually single protocol in this stack).
ns3::FlameStack::FlameStack | ( | ) |
Construct a FlameStack helper class.
ns3::FlameStack::~FlameStack | ( | ) |
Destroy a FlameStack helper class.
void ns3::FlameStack::DoDispose | ( | ) | [virtual] |
This method is called by Object::Dispose or by the object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.
It is safe to call GetObject from within this method.
Reimplemented from ns3::Object.
static TypeId ns3::FlameStack::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::FlameStack.
This object is accessible through the following paths with Config::Set and Config::Connect:
No Attributes defined for this type.
No TraceSources defined for this type.
Reimplemented from ns3::Object.
bool ns3::FlameStack::InstallStack | ( | Ptr< MeshPointDevice > | mp | ) | [virtual] |
Install a flame stack on the given MeshPointDevice.
mp | The Ptr<MeshPointDevice> to use. |
Implements ns3::MeshStack.