INET Framework for OMNeT++/OMNEST
inet::queueing::IPacketCollection Class Referenceabstract

This class defines the interface for packet collections. More...

#include <IPacketCollection.h>

Inheritance diagram for inet::queueing::IPacketCollection:
inet::queueing::IPacketBuffer inet::queueing::IPacketQueue inet::queueing::LabelScheduler inet::queueing::PacketBufferBase inet::queueing::PacketFlowBase inet::queueing::PriorityScheduler inet::queueing::WrrScheduler inet::queueing::PacketBuffer inet::queueing::PacketQueueBase inet::queueing::PacketBuffer inet::CrcInserterBase inet::EthernetAddressInserter inet::EthernetMacHeaderInserter inet::EthernetSocketCommandProcessor inet::EthernetTypeOrLengthInserter inet::FcsInserterBase inet::FragmentNumberHeaderChecker inet::FragmentNumberHeaderInserter inet::Ieee8021aeTagEpdHeaderInserter inet::Ieee8021qSocketCommandProcessor inet::Ieee8021qTagEpdHeaderInserter inet::Ieee8021qTagTpidHeaderInserter inet::Ieee8021rTagEpdHeaderInserter inet::Ieee8022LlcInserter inet::Ieee8022LlcSocketCommandProcessor inet::Ieee8022SnapInserter inet::PacketDeserializer inet::PacketDirectionReverser inet::PacketEmitter inet::PacketSerializer inet::PaddingInserter inet::physicallayer::EthernetFragmentPhyHeaderInserter inet::physicallayer::EthernetPhyHeaderInserter inet::queueing::FlowMeasurementRecorder inet::queueing::FlowMeasurementStarter inet::queueing::PacketGateBase inet::queueing::PacketMarkerBase inet::queueing::PacketMeterBase inet::RelayInterfaceLearner inet::SendToL3Address inet::SendToMacAddress inet::SendToPort inet::SendWithAcknowledge inet::SendWithHopLimit inet::SendWithProtocol inet::SequenceNumbering inet::StreamDecoder inet::StreamEncoder inet::StreamIdentifier inet::VlanReqMapper

Public Member Functions

virtual int getMaxNumPackets () const =0
 Returns maximum allowed number of packets in the collection. More...
 
virtual int getNumPackets () const =0
 Returns the number of available packets in the collection in the range [0, inf). More...
 
virtual b getMaxTotalLength () const =0
 Returns maximum allowed total length of all packets in the collection. More...
 
virtual b getTotalLength () const =0
 Returns the total length of all packets in the collection in the range [0, inf). More...
 
virtual PacketgetPacket (int index) const =0
 Returns the packet at the given index. More...
 
virtual bool isEmpty () const =0
 Returns true if there are no packets available in the collection. More...
 
virtual void removePacket (Packet *packet)=0
 Removes a packet from the collection. More...
 
virtual void removeAllPackets ()=0
 Removes all packets from the collection. More...
 

Detailed Description

This class defines the interface for packet collections.

Member Function Documentation

◆ getMaxNumPackets()

virtual int inet::queueing::IPacketCollection::getMaxNumPackets ( ) const
pure virtual

◆ getMaxTotalLength()

virtual b inet::queueing::IPacketCollection::getMaxTotalLength ( ) const
pure virtual

◆ getNumPackets()

◆ getPacket()

◆ getTotalLength()

◆ isEmpty()

◆ removeAllPackets()

◆ removePacket()


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