Uses of Class
simEngine.SimEvent
Packages that use SimEvent
Package
Description
Core of the JSIM discrete event simulation engine: the simulation system, entities, events, predicates and event queues on which all JMT simulation tools rely.
-
Uses of SimEvent in simEngine
Modifier and TypeClassDescriptionclassThis class implements an event queue used internally by the Sim_system to manage the list of future and deferred Sim_events.Modifier and TypeMethodDescriptionfinal SimEventSimEntity.getEvbuf()CircularEventQueue.peek()EventQueue.peek()Method peek.HybridEventQueue.peek()ListEventQueue.peek()TimingEventQueue.peek()final SimEventCircularEventQueue.pop()Remove and return the event at the top of the queue.EventQueue.pop()Method pop.HybridEventQueue.pop()ListEventQueue.pop()Remove and return the event at the top of the queue.TimingEventQueue.pop()final SimEventCircularEventQueue.top()Return the event at the top of the queue, without removing it.ListEventQueue.top()Return the event at the top of the queue, without removing it.Modifier and TypeMethodDescriptionCircularEventQueue.elements()Returns an enumeration of the components of this vector.CircularEventQueue.iterator()EventQueue.iterator()Returns an iterator that iterates over this queue elements in no special order.HybridEventQueue.iterator()TimingEventQueue.iterator()Modifier and TypeMethodDescriptionfinal booleanAdd a new event to the queue, preserving the temporal order of the events in the queue.booleanAdds an event to the queuebooleanbooleanAdd a new event to the queue, preserving the temporal order of the events in the queue.booleanbooleanThe match function called by Sim_system.simSelect(), not used directly by the userbooleanThe match function called by Sim_system.simSelect(), not used directly by the userabstract booleanThe match function which must be overridden when writing a new predicate.booleanThe match function called by SimSystem.simSelect(), not used directly by the userbooleanbooleanRemoves given eventbooleanbooleanbooleanbooleanCircularEventQueue.removeElement(SimEvent event) removes the selected elementfinal intSimEntity.simCancel(SimPredicate p, SimEvent ev) Cancel the first event waiting for this entity on the future queue, matched by the predicatep.final RemoveTokenSimEntity.simPutback(SimEvent ev) Puts an event back on the deferred queue.