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

#include <FrameSequenceStep.h>

Inheritance diagram for inet::ieee80211::ReceiveStep:
inet::ieee80211::IReceiveStep inet::ieee80211::IFrameSequenceStep

Public Member Functions

 ReceiveStep (simtime_t timeout=-1)
 
virtual ~ReceiveStep ()
 
virtual Completion getCompletion () override
 
virtual void setCompletion (Completion completion) override
 
virtual simtime_t getTimeout () override
 
virtual Ieee80211FramegetReceivedFrame () override
 
virtual void setFrameToReceive (Ieee80211Frame *frame) override
 
- Public Member Functions inherited from inet::ieee80211::IReceiveStep
virtual Type getType () override
 
- Public Member Functions inherited from inet::ieee80211::IFrameSequenceStep
virtual ~IFrameSequenceStep ()
 

Protected Attributes

Completion completion = Completion::UNDEFINED
 
simtime_t timeout = -1
 
Ieee80211FramereceivedFrame = nullptr
 

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::ReceiveStep::ReceiveStep ( simtime_t  timeout = -1)
inline
68  :
70  { }
simtime_t timeout
Definition: FrameSequenceStep.h:64
virtual inet::ieee80211::ReceiveStep::~ReceiveStep ( )
inlinevirtual
71 { delete receivedFrame; }
Ieee80211Frame * receivedFrame
Definition: FrameSequenceStep.h:65

Member Function Documentation

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

Implements inet::ieee80211::IFrameSequenceStep.

73 { return completion; }
Completion completion
Definition: FrameSequenceStep.h:63
virtual Ieee80211Frame* inet::ieee80211::ReceiveStep::getReceivedFrame ( )
inlineoverridevirtual

Implements inet::ieee80211::IReceiveStep.

76 { return receivedFrame; }
Ieee80211Frame * receivedFrame
Definition: FrameSequenceStep.h:65
virtual simtime_t inet::ieee80211::ReceiveStep::getTimeout ( )
inlineoverridevirtual

Implements inet::ieee80211::IReceiveStep.

75 { return timeout; }
simtime_t timeout
Definition: FrameSequenceStep.h:64
virtual void inet::ieee80211::ReceiveStep::setCompletion ( Completion  completion)
inlineoverridevirtual

Implements inet::ieee80211::IFrameSequenceStep.

74 { this->completion = completion; }
Completion completion
Definition: FrameSequenceStep.h:63
virtual void inet::ieee80211::ReceiveStep::setFrameToReceive ( Ieee80211Frame frame)
inlineoverridevirtual

Implements inet::ieee80211::IReceiveStep.

77 { this->receivedFrame = frame; }
Ieee80211Frame * receivedFrame
Definition: FrameSequenceStep.h:65

Member Data Documentation

Completion inet::ieee80211::ReceiveStep::completion = Completion::UNDEFINED
protected
Ieee80211Frame* inet::ieee80211::ReceiveStep::receivedFrame = nullptr
protected
simtime_t inet::ieee80211::ReceiveStep::timeout = -1
protected

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