|
OMNeT++ API 6.1
Discrete Event Simulation Library
|
|
16 #ifndef __OMNETPP_CSCHEDULER_H
17 #define __OMNETPP_CSCHEDULER_H
20 #include "simtime_t.h"
21 #include "clifecyclelistener.h"
75 virtual std::string str()
const override;
116 virtual cEvent *guessNextEvent() = 0;
130 virtual cEvent *takeNextEvent() = 0;
149 virtual void putBackEvent(
cEvent *event) = 0;
169 virtual std::string str()
const override;
174 virtual cEvent *guessNextEvent()
override;
179 virtual cEvent *takeNextEvent()
override;
184 virtual void putBackEvent(
cEvent *event)
override;
219 virtual void startRun()
override;
220 bool waitUntil(int64_t targetTime);
237 virtual std::string str()
const override;
242 virtual void executionResumed()
override;
247 virtual cEvent *guessNextEvent()
override;
255 virtual cEvent *takeNextEvent()
override;
260 virtual void putBackEvent(
cEvent *event)
override;
virtual void endRun()
Definition: cscheduler.h:95
cObject is a lightweight class which serves as the root of the OMNeT++ class hierarchy....
Definition: cobject.h:92
cSequentialScheduler()
Definition: cscheduler.h:164
cScheduler()
Definition: cscheduler.h:63
Represents an event in the discrete event simulator.
Definition: cevent.h:46
Simulation manager class.
Definition: csimulation.h:64
Abstract class to encapsulate event scheduling.
Definition: cscheduler.h:47
virtual ~cScheduler()
Definition: cscheduler.h:68
SimulationLifecycleEventType
Event type for cISimulationLifecycleListener's lifecycleEvent() method.
Definition: clifecyclelistener.h:28
int64_t-based, base-10 fixed-point simulation time.
Definition: simtime.h:66
cSimulation * getSimulation() const
Definition: cscheduler.h:85
cRealTimeScheduler()
Definition: cscheduler.h:227
Event scheduler for sequential simulation.
Definition: cscheduler.h:158
Real-time scheduler class.
Definition: cscheduler.h:208
virtual void startRun()
Definition: cscheduler.h:90
A callback interface for receiving notifications at various stages simulations, including setting up,...
Definition: clifecyclelistener.h:186
virtual ~cRealTimeScheduler()
Definition: cscheduler.h:232
virtual void executionResumed()
Definition: cscheduler.h:103