INET Framework for OMNeT++/OMNEST
|
Base class for algorithmic droppers (RED, DropTail, etc.). More...
#include <AlgorithmicDropperBase.h>
Public Member Functions | |
AlgorithmicDropperBase () | |
virtual | ~AlgorithmicDropperBase () |
Public Member Functions inherited from inet::IQueueAccess | |
virtual | ~IQueueAccess () |
Protected Member Functions | |
virtual void | initialize () override |
virtual void | handleMessage (cMessage *msg) override |
virtual bool | shouldDrop (cPacket *packet)=0 |
virtual void | dropPacket (cPacket *packet) |
virtual void | sendOut (cPacket *packet) |
virtual int | getLength () const override |
Returns the number of frames in the queue. More... | |
virtual int | getByteLength () const override |
Returns the number of bytes in the queue. More... | |
Protected Attributes | |
int | numGates |
std::vector< IQueueAccess * > | outQueues |
std::set< IQueueAccess * > | outQueueSet |
Base class for algorithmic droppers (RED, DropTail, etc.).
|
inline |
|
protectedvirtual |
Referenced by handleMessage().
|
overrideprotectedvirtual |
Returns the number of bytes in the queue.
Implements inet::IQueueAccess.
Referenced by inet::ThresholdDropper::shouldDrop().
|
overrideprotectedvirtual |
Returns the number of frames in the queue.
Implements inet::IQueueAccess.
Referenced by inet::REDDropper::sendOut(), inet::ThresholdDropper::shouldDrop(), and inet::REDDropper::shouldDrop().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented in inet::REDDropper, and inet::ThresholdDropper.
Referenced by inet::ThresholdDropper::initialize(), and inet::REDDropper::initialize().
|
protectedvirtual |
Reimplemented in inet::REDDropper.
Referenced by handleMessage(), and inet::REDDropper::sendOut().
|
protectedpure virtual |
Implemented in inet::REDDropper, and inet::ThresholdDropper.
Referenced by handleMessage().
|
protected |
Referenced by initialize(), inet::REDDropper::initialize(), and inet::REDDropper::shouldDrop().
|
protected |
Referenced by initialize().
|
protected |
Referenced by getByteLength(), getLength(), and initialize().