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 simEngine
    Modifier and Type
    Class
    Description
    class 
    A predicate which will match any event on the deferred event queue.
    class 
    A predicate which will not match any event on the deferred event queue.
    class 
    A predicate to select events with specific tags from the deferred event queue.
    Methods in simEngine that return SimPredicate
    Modifier and Type
    Method
    Description
    SimEntity.getWaitingPred()
    Returns the Predicate which this entity is waiting for
    Methods in simEngine with parameters of type SimPredicate
    Modifier and Type
    Method
    Description
    final int
    SimEntity.simCancel(SimPredicate p, SimEvent ev)
    Cancel the first event waiting for this entity on the future queue, matched by the predicate p.
    final void
    SimEntity.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 void
    SimEntity.simSelect(SimPredicate p)
    Extract the first event waiting for this entity on the deferred queue, matched by the predicate p.
    final void
    SimEntity.simWaitFor(SimPredicate p)
    Repeatedly simWait() until the entity receives an event matched by the specified predicate, all the other received events are discarded.
    final int
    SimEntity.simWaiting(SimPredicate p)
    Count how many events matching a predicate are waiting for this entity on the deferred queue.