Event scheduler for sequential simulation.
Public Member Functions | |
cSequentialScheduler () | |
virtual std::string | str () const override |
virtual cEvent * | guessNextEvent () override |
virtual cEvent * | takeNextEvent () override |
virtual void | putBackEvent (cEvent *event) override |
Public Member Functions inherited from cScheduler | |
cScheduler () | |
virtual | ~cScheduler () |
virtual void | setSimulation (cSimulation *_sim) |
cSimulation * | getSimulation () const |
virtual void | startRun () |
virtual void | endRun () |
virtual void | executionResumed () |
Public Member Functions inherited from cObject | |
cObject () | |
cObject (const cObject &other)=default | |
virtual | ~cObject () |
virtual const char * | getClassName () const |
virtual const char * | getName () const |
bool | isName (const char *s) const |
virtual const char * | getFullName () const |
virtual std::string | getFullPath () const |
virtual std::string | getClassAndFullName () const |
virtual std::string | getClassAndFullPath () const |
const cObject * | getThisPtr () const |
virtual std::ostream & | printOn (std::ostream &os) const |
virtual cObject * | dup () const |
virtual void | parsimPack (cCommBuffer *buffer) const |
virtual void | parsimUnpack (cCommBuffer *buffer) |
virtual cObject * | getOwner () const |
virtual bool | isOwnedObject () const |
virtual bool | isSoftOwner () const |
virtual void | forEachChild (cVisitor *v) |
cObject * | findObject (const char *name, bool deep=true) |
virtual cClassDescriptor * | getDescriptor () const |
void | copyNotSupported () const |
Public Member Functions inherited from cISimulationLifecycleListener | |
virtual | ~cISimulationLifecycleListener () |
virtual void | listenerAdded () |
virtual void | listenerRemoved () |
Additional Inherited Members | |
Static Public Member Functions inherited from cISimulationLifecycleListener | |
static const char * | getSimulationLifecycleEventName (SimulationLifecycleEventType eventType) |
Protected Member Functions inherited from cScheduler | |
virtual void | lifecycleEvent (SimulationLifecycleEventType eventType, cObject *details) override |
Protected Member Functions inherited from cObject | |
virtual void | take (cOwnedObject *obj) |
virtual void | drop (cOwnedObject *obj) |
void | dropAndDelete (cOwnedObject *obj) |
|
inline |
Constructor.
|
overridevirtual |
Returns empty string as description.
Reimplemented from cScheduler.
|
overridevirtual |
Returns the first event in the Future Event Set.
Implements cScheduler.
|
overridevirtual |
Removes the first event from the Future Event Set, and returns it.
Implements cScheduler.
|
overridevirtual |
Puts back the event into the Future Event Set.
Implements cScheduler.