OMNeT++ Simulation Library  6.0.3
cSequentialScheduler Class Reference

#include <cscheduler.h>

Description

Event scheduler for sequential simulation.

Inheritance diagram for cSequentialScheduler:
cScheduler cObject cISimulationLifecycleListener

Public Member Functions

 cSequentialScheduler ()
 
virtual std::string str () const override
 
virtual cEventguessNextEvent () override
 
virtual cEventtakeNextEvent () override
 
virtual void putBackEvent (cEvent *event) override
 
- Public Member Functions inherited from cScheduler
 cScheduler ()
 
virtual ~cScheduler ()
 
virtual void setSimulation (cSimulation *_sim)
 
cSimulationgetSimulation () 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 cObjectgetThisPtr () const
 
virtual std::ostream & printOn (std::ostream &os) const
 
virtual cObjectdup () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
virtual bool isSoftOwner () const
 
virtual void forEachChild (cVisitor *v)
 
cObjectfindObject (const char *name, bool deep=true)
 
virtual cClassDescriptorgetDescriptor () 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)
 

Constructor & Destructor Documentation

◆ cSequentialScheduler()

Constructor.

Member Function Documentation

◆ str()

virtual std::string str ( ) const
overridevirtual

Returns empty string as description.

Reimplemented from cScheduler.

◆ guessNextEvent()

virtual cEvent* guessNextEvent ( )
overridevirtual

Returns the first event in the Future Event Set.

Implements cScheduler.

◆ takeNextEvent()

virtual cEvent* takeNextEvent ( )
overridevirtual

Removes the first event from the Future Event Set, and returns it.

Implements cScheduler.

◆ putBackEvent()

virtual void putBackEvent ( cEvent event)
overridevirtual

Puts back the event into the Future Event Set.

Implements cScheduler.


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