RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <QueueIDGenBase.h>
Public Member Functions | |
virtual void | onPolicyInit () |
virtual std::string | generateInputQueueID (PDU *pdu) |
virtual std::string | generateOutputQueueID (PDU *pdu) |
virtual std::string | generateIDFromFlow (Flow *flow) |
Protected Member Functions | |
void | handleMessage (cMessage *msg) |
Private Member Functions | |
void | initialize () |
Noop base class for the RA queue ID generator. This convenience class provides generation of queue IDs from given objects.
Definition at line 35 of file QueueIDGenBase.h.
|
virtual |
Generates queue ID for given flow object (this is usually invoked by QueueAlloc policy).
flow | flow object |
Reimplemented in IDPerNFlow, and SingleID.
Definition at line 51 of file QueueIDGenBase.cc.
Referenced by QueuePerNFlow::onNFlowAlloc().
|
virtual |
Generates input queue ID for given PDU (this is usually invoked by a port).
pdu | PDU |
Reimplemented in IDPerNCU, IDPerNQoSxPLen, IDPerNFlow, IDPerNQoS, and SingleID.
Definition at line 41 of file QueueIDGenBase.cc.
Referenced by RMTPort::handleMessage().
|
virtual |
Generates output queue ID for given PDU (this is usually invoked by RMT).
pdu | PDU |
Reimplemented in IDPerNCU, IDPerNQoSxPLen, IDPerNFlow, IDPerNQoS, and SingleID.
Definition at line 46 of file QueueIDGenBase.cc.
Referenced by RMT::relayPDUToPort().
|
protected |
Handler for OMNeT++ module messages (probably not of much use here).
Definition at line 37 of file QueueIDGenBase.cc.
|
private |
Module initialization routine setting up parameters for GUI. Inherited policies should be using onPolicyInit() instead.
Definition at line 27 of file QueueIDGenBase.cc.
|
virtual |
A hook method invoked after the initial setup of policy module.
Reimplemented in IDPerNCU.
Definition at line 33 of file QueueIDGenBase.cc.
Referenced by initialize().