Package SimPy :: Module SimulationStep :: Class __Evlist
[hide private]
[frames] | no frames]

Class __Evlist

source code

object --+
         |
        __Evlist

Defines event list and operations on it

Instance Methods [hide private]
  __init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  _post(self, what, at, prior=False)
Post an event notice for process what for time at
  _unpost(self, whom)
Mark event notice for whom as cancelled if whom is a suspended process
  _nextev(self)
Retrieve next event from event list
  _isEmpty(self)
  _allEventNotices(self)
Returns string with eventlist as t1: [procname,procname2] t2: [procname4,procname5, .
  _allEventTimes(self)
Returns list of all times for which events are scheduled.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

_post(self, what, at, prior=False)

source code 
Post an event notice for process what for time at

_unpost(self, whom)

source code 
Mark event notice for whom as cancelled if whom is a suspended process

_nextev(self)

source code 
Retrieve next event from event list

_isEmpty(self)

source code 
None

_allEventNotices(self)

source code 
Returns string with eventlist as t1: [procname,procname2] t2: [procname4,procname5, . . . ] . . . .

_allEventTimes(self)

source code 
Returns list of all times for which events are scheduled.