16 #ifndef __OMNETPP_CFUTUREEVENTSET_H 17 #define __OMNETPP_CFUTUREEVENTSET_H 19 #include "cownedobject.h" 60 virtual std::string str()
const override;
69 virtual void insert(
cEvent *event) = 0;
75 virtual cEvent *peekFirst()
const = 0;
81 virtual cEvent *removeFirst() = 0;
86 virtual void putBackFirst(
cEvent *event) = 0;
97 virtual bool isEmpty()
const = 0;
102 virtual void clear() = 0;
110 virtual int getLength()
const = 0;
123 virtual cEvent *
get(
int k) = 0;
129 virtual void sort() = 0;
Abstract base class for the future event set (FES), a central data structure for discrete event simul...
Definition: cfutureeventset.h:32
Represents an event in the discrete event simulator.
Definition: cevent.h:43
virtual ~cFutureEventSet()
Definition: cfutureeventset.h:45
A cObject that keeps track of its owner. It serves as base class for many classes in the OMNeT++ libr...
Definition: cownedobject.h:104
cFutureEventSet(const char *name=nullptr)
Definition: cfutureeventset.h:40
Definition: cabstracthistogram.h:21