Uses of Class
simEngine.SimPredicate
Packages that use SimPredicate
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 SimPredicate in simEngine
Subclasses of SimPredicate in simEngineModifier and TypeClassDescriptionclassA predicate which will match any event on the deferred event queue.classA predicate which will not match any event on the deferred event queue.classA predicate to select events with specific tags from the deferred event queue.Methods in simEngine that return SimPredicateModifier and TypeMethodDescriptionfinal SimPredicateSimEntity.getWaitingPred()Returns the Predicate which this entity is waiting forMethods in simEngine with parameters of type SimPredicateModifier and TypeMethodDescriptionfinal intSimEntity.simCancel(SimPredicate p, SimEvent ev) Cancel the first event waiting for this entity on the future queue, matched by the predicatep.final voidSimEntity.simGetNext(SimPredicate p) Gets the first event matching a predicate from the deferred queue, or, if none match, wait for a matching event to arrive.final voidSimEntity.simSelect(SimPredicate p) Extract the first event waiting for this entity on the deferred queue, matched by the predicatep.final voidSimEntity.simWaitFor(SimPredicate p) RepeatedlysimWait()until the entity receives an event matched by the specified predicate, all the other received events are discarded.final intSimEntity.simWaiting(SimPredicate p) Count how many events matching a predicate are waiting for this entity on the deferred queue.