public class WaitQueueAnimation extends WaitQueue
QueueBased.QueueActionFIFO, LIFO, RANDOM, UNDEFINED| Constructor and Description |
|---|
WaitQueueAnimation(ModelAnimation owner,
java.lang.String name,
boolean showInReport,
boolean showInTrace)
Constructor with same parameters as WaitQueue
|
WaitQueueAnimation(ModelAnimation owner,
java.lang.String name,
int masterSortOrder,
int masterQCapacity,
int slaveSortOrder,
int slaveQCapacity,
boolean showInReport,
boolean showInTrace)
Constructor with same parameters as WaitQueue
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
animationIsOn() |
boolean |
cooperate(ProcessCoopAnimation coop)
This method is called from a SimProcessAnimation which wants to
cooperate as master
|
boolean |
cooperate(ProcessCoopAnimation coop,
Condition cond)
This method is called from a SimProcessAnimation which wants to
cooperate as master and is looking for a slave complying to a certain
condition described in cond
|
void |
createAnimation(Position pos,
FormExt form,
boolean showInAnimation)
create animation with full parameterization
|
java.lang.String |
getInternId()
gives the internal Id of this animation object.
|
boolean |
waitOnCoop()
This method is called from a SimProcessAnimation which wants to
cooperate as a slave.
|
avail, availMaster, cancelCoop, cooperate, cooperate, createDefaultReporter, getCooperationsCompleted, getMQueueStrategy, getMRefused, getMRemoved, getSlaveQueue, getSQueueStrategy, getSRefused, getSRemoved, mAverageCoopTime, mAverageLength, mAverageWaitTime, mIsEmpty, mLength, mMaxLength, mMaxLengthAt, mMaxWaitTime, mMaxWaitTimeAt, mMinLength, mMinLengthAt, mStdDevLength, mStdDevWaitTime, mZeroWaits, reset, sAverageLength, sAverageWaitTime, sIsEmpty, sLength, sMaxLength, sMaxLengthAt, sMaxWaitTime, sMaxWaitTimeAt, sMinLength, sMinLengthAt, sStdDevLength, sStdDevWaitTime, sZeroWaitsaddObserver, averageLength, averageWaitTime, deleteObserver, getQueueLimit, length, maxLength, maxLengthAt, maxWaitTime, maxWaitTimeAt, minLength, minLengthAt, notifyObservers, setQueueImpWarning, stdDevLength, stdDevWaitTime, zeroWaitsgetCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setDescription, setReportercurrent, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOngetName, getQuotedName, toStringpublic WaitQueueAnimation(ModelAnimation owner, java.lang.String name, int masterSortOrder, int masterQCapacity, int slaveSortOrder, int slaveQCapacity, boolean showInReport, boolean showInTrace)
owner - used modelname - as in WaitQueuemasterSortOrder - as in WaitQueuemasterQCapacity - as in WaitQueueslaveSortOrder - as in WaitQueueslaveQCapacity - as in WaitQueueshowInReport - as in WaitQueueshowInTrace - as in WaitQueuepublic WaitQueueAnimation(ModelAnimation owner, java.lang.String name, boolean showInReport, boolean showInTrace)
owner - used modelname - as in WaitQueueshowInReport - as in WaitQueueshowInTrace - as in WaitQueuepublic void createAnimation(Position pos, FormExt form, boolean showInAnimation)
id - internal objectId for animation. Must be unique.pos - middle point of animation objectform - form of animation objectshowInAnimation - switch animation on or offpublic java.lang.String getInternId()
public boolean cooperate(ProcessCoopAnimation coop) throws SuspendExecution
coop - as in waitQueueSuspendExecutionpublic boolean cooperate(ProcessCoopAnimation coop, Condition cond) throws SuspendExecution
coop - as in waitQueuecond - as in waitQueueSuspendExecutionpublic boolean waitOnCoop()
throws SuspendExecution
waitOnCoop in class WaitQueuetrue if the process can be enqueued
successfully, false otherwise (i.e. capacity limit
of the slave queue is reached).SuspendExecutionpublic boolean animationIsOn()