16 #ifndef __OMNETPP_CSCHEDULER_H 17 #define __OMNETPP_CSCHEDULER_H 20 #include "simtime_t.h" 21 #include "clifecyclelistener.h" 76 virtual std::string str()
const override;
117 virtual cEvent *guessNextEvent() = 0;
131 virtual cEvent *takeNextEvent() = 0;
150 virtual void putBackEvent(
cEvent *event) = 0;
170 virtual std::string str()
const override;
175 virtual cEvent *guessNextEvent()
override;
180 virtual cEvent *takeNextEvent()
override;
185 virtual void putBackEvent(
cEvent *event)
override;
220 virtual void startRun()
override;
221 bool waitUntil(int64_t targetTime);
238 virtual std::string str()
const override;
243 virtual void executionResumed()
override;
248 virtual cEvent *guessNextEvent()
override;
256 virtual cEvent *takeNextEvent()
override;
261 virtual void putBackEvent(
cEvent *event)
override;
cSequentialScheduler()
Definition: cscheduler.h:165
Root of the OMNeT++ class hierarchy. cObject is a lightweight class without any data members...
Definition: cobject.h:58
int64_t-based, base-10 fixed-point simulation time.
Definition: simtime.h:66
Event scheduler for sequential simulation.
Definition: cscheduler.h:159
Real-time scheduler class.
Definition: cscheduler.h:209
virtual void executionResumed()
Definition: cscheduler.h:104
Simulation manager class.
Definition: csimulation.h:62
virtual void startRun()
Definition: cscheduler.h:91
Represents an event in the discrete event simulator.
Definition: cevent.h:43
A callback interface for receiving notifications at various stages simulations, including setting up...
Definition: clifecyclelistener.h:186
cSimulation * getSimulation() const
Definition: cscheduler.h:86
Abstract class to encapsulate event scheduling.
Definition: cscheduler.h:48
virtual void endRun()
Definition: cscheduler.h:96
Definition: cabstracthistogram.h:21
SimulationLifecycleEventType
Event type for cISimulationLifecycleListener's lifecycleEvent() method.
Definition: clifecyclelistener.h:28