remove-from-queueQueue Managementshow-queueGoTo Top

show-queue   queue &key start end show-element-function[Generic Function]

Purpose
Print the elements on queue.

Method signatures

show-queue  (queue queue) &key start end show-element-function

Package   :gbbopen

Module   :queue

Arguments and values

queue     A GBBopen queue
start     An integer specifying the first queue element to be shown (default is 0)
end     An integer specifying the last queue element to be shown or nil indicating that the last queue element is to be shown (default is nil)
show-element-function     A function designator specifying a function object of two arguments used to print each queue element line (default is #'standard-show-queue-element)

See also
    clear-queue
    executed-ksas-of
    make-queue
    obviated-ksas-of
    ordered-ksa-queue
    ordered-queue
    queue
    queue-element
    on-queue-p
    pending-ksas-of

Example
Show the control shell's pending KSAs queue (early in a :tutorial-example run):

  >  (show-queue (pending-ksas-of (current-control-shell)))
      0. #<ksa 7 random-walk-ks 100>
      1. #<ksa 1 count-center-locations-ks 90>
      2. #<ksa 4 print-walk-ks 80>(show-queue pending-ksas :end 5)
  >


The GBBopen Project


remove-from-queueQueue Managementshow-queueGoTo Top