Environment: Siren
An SEventQueue is a doubly-linked list that has methods for inserting elements in time-sorted order.
Instance Variables:
accessing
first
last
add: eventAss loop: aBool
Add the given eventAssociation to the receiver in the right place.
asOrderedCollection
Answer a copy of the receiver's items
detect: aBlock
Walk the list looking
do: aBlock
Refer to the comment in Collection|do:.
includes: sought
isEmpty
itemNamed: theName
Answer a copy of the receiver's items
ready: now
Answer whether there's an event ready within 5000 usec of the given time
removeAllSuchThat: aBlock
Remove each element for which aBlock evaluates to true.
removeFirst
Remove and answer the first item from the list.
size
Answer how many elements the receiver contains.
private
Find the proper slot for inserting a new event with the given start time.
printing
Append to the argument aStream a sequence of characters that identifies the receiver.
MetaClass: SEventQueue class
record pool
Set up the class's record pool
nextRecord
Set up the class's record pool