Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __INET_DROPTAILQUEUE_H
00020 #define __INET_DROPTAILQUEUE_H
00021
00022 #include <omnetpp.h>
00023 #include "PassiveQueueBase.h"
00024
00028 class INET_API DropTailQueue : public PassiveQueueBase
00029 {
00030 protected:
00031
00032 int frameCapacity;
00033
00034
00035 cQueue queue;
00036 cGate *outGate;
00037
00038
00039 cOutVector qlenVec;
00040 cOutVector dropVec;
00041
00042 protected:
00043 virtual void initialize();
00044
00048 virtual bool enqueue(cMessage *msg);
00049
00053 virtual cMessage *dequeue();
00054
00058 virtual void sendOut(cMessage *msg);
00059 };
00060
00061 #endif
00062
00063