INET Framework for OMNeT++/OMNEST
inet::ieee80211::RtsProcedure Class Reference

#include <RtsProcedure.h>

Inheritance diagram for inet::ieee80211::RtsProcedure:
inet::ieee80211::IRtsProcedure

Public Member Functions

virtual Ieee80211RTSFramebuildRtsFrame (Ieee80211DataOrMgmtFrame *dataOrMgmtFrame) const override
 
virtual void processTransmittedRts (Ieee80211RTSFrame *rtsFrame) override
 
- Public Member Functions inherited from inet::ieee80211::IRtsProcedure
virtual ~IRtsProcedure ()
 

Protected Attributes

int numSentRts = 0
 

Member Function Documentation

Ieee80211RTSFrame * inet::ieee80211::RtsProcedure::buildRtsFrame ( Ieee80211DataOrMgmtFrame dataOrMgmtFrame) const
overridevirtual

Implements inet::ieee80211::IRtsProcedure.

24 {
25  Ieee80211RTSFrame *rtsFrame = new Ieee80211RTSFrame("RTS");
26  rtsFrame->setReceiverAddress(dataOrMgmtFrame->getReceiverAddress());
27  return rtsFrame;
28 }
void inet::ieee80211::RtsProcedure::processTransmittedRts ( Ieee80211RTSFrame rtsFrame)
overridevirtual

Implements inet::ieee80211::IRtsProcedure.

31 {
32  numSentRts++;
33 }
int numSentRts
Definition: RtsProcedure.h:29

Member Data Documentation

int inet::ieee80211::RtsProcedure::numSentRts = 0
protected

Referenced by processTransmittedRts().


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