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

#include <PcfFs.h>

Inheritance diagram for inet::ieee80211::PcfFs:
inet::ieee80211::AlternativesFs inet::ieee80211::IFrameSequence

Public Member Functions

 PcfFs ()
 
virtual int selectPcfSequence (AlternativesFs *frameSequence, FrameSequenceContext *context)
 
- Public Member Functions inherited from inet::ieee80211::AlternativesFs
virtual ~AlternativesFs ()
 
 AlternativesFs (std::vector< IFrameSequence * > elements, std::function< int(AlternativesFs *, FrameSequenceContext *)> selector)
 
virtual int getStep ()
 
virtual int selectSequence (FrameSequenceContext *context)
 
virtual void startSequence (FrameSequenceContext *context, int firstStep) override
 
virtual IFrameSequenceStepprepareStep (FrameSequenceContext *context) override
 
virtual bool completeStep (FrameSequenceContext *context) override
 
virtual std::string getHistory () override
 
- Public Member Functions inherited from inet::ieee80211::IFrameSequence
virtual ~IFrameSequence ()
 

Additional Inherited Members

- Protected Attributes inherited from inet::ieee80211::AlternativesFs
int firstStep = -1
 
int step = -1
 
int elementIndex = -1
 
std::vector< IFrameSequence * > elements
 
std::function< int(AlternativesFs *, FrameSequenceContext *)> selector
 

Constructor & Destructor Documentation

inet::ieee80211::PcfFs::PcfFs ( )
24  :
25  // Excerpt from G.2 Basic sequences (p. 2309)
26  // frame-sequence =
27  // ( PS-Poll ACK ) |
28  // ( [ Beacon + DTIM ] {cf-sequence} [ CF-End [+ CF-Ack ] ] )
29  AlternativesFs({new SequentialFs({}), // TODO: poll
30  new SequentialFs({})}, // TODO: beacon
32 {
33 }
AlternativesFs(std::vector< IFrameSequence * > elements, std::function< int(AlternativesFs *, FrameSequenceContext *)> selector)
Definition: GenericFrameSequences.cc:170
Definition: GenericFrameSequences.h:34
#define ALTERNATIVESFS_SELECTOR(selector)
Definition: GenericFrameSequences.h:32
virtual int selectPcfSequence(AlternativesFs *frameSequence, FrameSequenceContext *context)
Definition: PcfFs.cc:35

Member Function Documentation

int inet::ieee80211::PcfFs::selectPcfSequence ( AlternativesFs frameSequence,
FrameSequenceContext context 
)
virtual

Referenced by PcfFs().

36 {
37  return 0;
38 }

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