Common interface for mesh point interface MAC plugins. More...
#include <mesh-wifi-interface-mac-plugin.h>
Public Member Functions | |
virtual | ~MeshWifiInterfaceMacPlugin () |
This is for subclasses. More... | |
virtual int64_t | AssignStreams (int64_t stream)=0 |
Assign a fixed random variable stream number to the random variables used by this model. More... | |
virtual bool | Receive (Ptr< Packet > packet, const WifiMacHeader &header)=0 |
Process received frame. More... | |
virtual void | SetParent (Ptr< MeshWifiInterfaceMac > parent)=0 |
Each plugin must be installed on interface to work. More... | |
virtual void | UpdateBeacon (MeshWifiBeacon &beacon) const =0 |
Update beacon before it will be formed and sent. More... | |
virtual bool | UpdateOutcomingFrame (Ptr< Packet > packet, WifiMacHeader &header, Mac48Address from, Mac48Address to)=0 |
Update frame before it will be forwarded down. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< MeshWifiInterfaceMacPlugin > | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< MeshWifiInterfaceMacPlugin > | |
static void | Cleanup (void) |
Noop. More... | |
Common interface for mesh point interface MAC plugins.
Definition at line 41 of file mesh-wifi-interface-mac-plugin.h.
|
inlinevirtual |
This is for subclasses.
Definition at line 45 of file mesh-wifi-interface-mac-plugin.h.
|
pure virtual |
Assign a fixed random variable stream number to the random variables used by this model.
Return the number of streams (possibly zero) that have been assigned.
stream | first stream index to use |
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Process received frame.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Each plugin must be installed on interface to work.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
Referenced by ns3::MeshWifiInterfaceMac::InstallPlugin().
|
pure virtual |
Update beacon before it will be formed and sent.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Update frame before it will be forwarded down.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.