#include <PacketQueue.h>
inet::PacketQueue::PacketQueue |
( |
const char * |
name = nullptr | ) |
|
23 cPacketQueue(name,
nullptr)
void inet::PacketQueue::checkInsertion |
( |
cPacket * |
packet | ) |
|
|
protected |
Referenced by insert(), insertAfter(), and insertBefore().
31 throw cRuntimeError(
"Queue is full");
int64_t maxBitLength
Definition: PacketQueue.h:29
int maxPacketLength
Definition: PacketQueue.h:28
virtual int64_t inet::PacketQueue::getMaxBitLength |
( |
| ) |
|
|
inlinevirtual |
int64_t maxBitLength
Definition: PacketQueue.h:29
virtual int inet::PacketQueue::getMaxPacketLength |
( |
| ) |
|
|
inlinevirtual |
void inet::PacketQueue::insert |
( |
cPacket * |
packet | ) |
|
|
virtual |
Referenced by inet::CsmaCaMac::handleUpperPacket().
void insert(std::vector< T > &v, int pos, const T &a)
Definition: stlutils.h:79
void checkInsertion(cPacket *packet)
Definition: PacketQueue.cc:27
void inet::PacketQueue::insertAfter |
( |
cPacket * |
where, |
|
|
cPacket * |
packet |
|
) |
| |
|
virtual |
49 cQueue::insertAfter(where, packet);
void checkInsertion(cPacket *packet)
Definition: PacketQueue.cc:27
void inet::PacketQueue::insertBefore |
( |
cPacket * |
where, |
|
|
cPacket * |
packet |
|
) |
| |
|
virtual |
43 cQueue::insertBefore(where, packet);
void checkInsertion(cPacket *packet)
Definition: PacketQueue.cc:27
virtual void inet::PacketQueue::setMaxBitLength |
( |
int64_t |
maxBitLength | ) |
|
|
inlinevirtual |
int64_t maxBitLength
Definition: PacketQueue.h:29
virtual void inet::PacketQueue::setMaxPacketLength |
( |
int |
maxPacketLength | ) |
|
|
inlinevirtual |
int64_t inet::PacketQueue::maxBitLength = -1 |
|
protected |
int inet::PacketQueue::maxPacketLength = -1 |
|
protected |
The documentation for this class was generated from the following files: