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

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)

Detailed Description

Helper class used to install FLAME mesh stack (actually single protocol in this stack)

Definition at line 34 of file flame-installer.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void ns3::FlameStack::DoDispose ( void  )
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.

TypeId ns3::FlameStack::GetTypeId ( void  )
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:

bool ns3::FlameStack::InstallStack ( Ptr< MeshPointDevice mp)
virtual

Install a flame stack on the given MeshPointDevice.

Parameters
mpThe 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:

void ns3::FlameStack::Report ( const Ptr< MeshPointDevice mp,
std::ostream &  os 
)
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:

void ns3::FlameStack::ResetStats ( const Ptr< MeshPointDevice mp)
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:


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