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

Class __Evlist

source code

Defines event list and operations on it

Instance Methods [hide private]
  __init__(self)
  _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.

Method Details [hide private]

__init__(self)
(Constructor)

source code 
None

_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.