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

#include <FrameSequenceStep.h>

Inheritance diagram for inet::ieee80211::TransmitStep:
inet::ieee80211::ITransmitStep inet::ieee80211::IFrameSequenceStep inet::ieee80211::RtsTransmitStep

Public Member Functions

 TransmitStep (Ieee80211Frame *frame, simtime_t ifs)
 
virtual ~TransmitStep ()
 
virtual Completion getCompletion () override
 
virtual void setCompletion (Completion completion) override
 
virtual Ieee80211FramegetFrameToTransmit () override
 
virtual simtime_t getIfs () override
 
- Public Member Functions inherited from inet::ieee80211::ITransmitStep
virtual Type getType () override
 
- Public Member Functions inherited from inet::ieee80211::IFrameSequenceStep
virtual ~IFrameSequenceStep ()
 

Protected Attributes

Completion completion = Completion::UNDEFINED
 
Ieee80211FrameframeToTransmit = nullptr
 
simtime_t ifs = -1
 

Additional Inherited Members

- Public Types inherited from inet::ieee80211::IFrameSequenceStep
enum  Type { Type::TRANSMIT, Type::RECEIVE }
 
enum  Completion { Completion::UNDEFINED, Completion::ACCEPTED, Completion::REJECTED, Completion::EXPIRED }
 

Constructor & Destructor Documentation

inet::ieee80211::TransmitStep::TransmitStep ( Ieee80211Frame frame,
simtime_t  ifs 
)
inline
34  :
35  frameToTransmit(frame),
36  ifs(ifs)
37  { }
Ieee80211Frame * frameToTransmit
Definition: FrameSequenceStep.h:30
simtime_t ifs
Definition: FrameSequenceStep.h:31
virtual inet::ieee80211::TransmitStep::~TransmitStep ( )
inlinevirtual
38 { if (!dynamic_cast<Ieee80211DataOrMgmtFrame *>(frameToTransmit)) delete frameToTransmit; }
Ieee80211Frame * frameToTransmit
Definition: FrameSequenceStep.h:30

Member Function Documentation

virtual Completion inet::ieee80211::TransmitStep::getCompletion ( )
inlineoverridevirtual

Implements inet::ieee80211::IFrameSequenceStep.

40 { return completion; }
Completion completion
Definition: FrameSequenceStep.h:29
virtual Ieee80211Frame* inet::ieee80211::TransmitStep::getFrameToTransmit ( )
inlineoverridevirtual

Implements inet::ieee80211::ITransmitStep.

Referenced by inet::ieee80211::FrameSequenceHandler::startFrameSequenceStep().

42 { return frameToTransmit; }
Ieee80211Frame * frameToTransmit
Definition: FrameSequenceStep.h:30
virtual simtime_t inet::ieee80211::TransmitStep::getIfs ( )
inlineoverridevirtual

Implements inet::ieee80211::ITransmitStep.

43 { return ifs; }
simtime_t ifs
Definition: FrameSequenceStep.h:31
virtual void inet::ieee80211::TransmitStep::setCompletion ( Completion  completion)
inlineoverridevirtual

Implements inet::ieee80211::IFrameSequenceStep.

41 { this->completion = completion; }
Completion completion
Definition: FrameSequenceStep.h:29

Member Data Documentation

Completion inet::ieee80211::TransmitStep::completion = Completion::UNDEFINED
protected
Ieee80211Frame* inet::ieee80211::TransmitStep::frameToTransmit = nullptr
protected
simtime_t inet::ieee80211::TransmitStep::ifs = -1
protected

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