public abstract class SimProcessAnimation extends SimProcess implements EntityBasicAnimation
| Constructor and Description |
|---|
SimProcessAnimation(ModelAnimation owner,
java.lang.String name,
boolean showInTrace)
constructor with same parameters as in SimProcess
|
SimProcessAnimation(ModelAnimation owner,
java.lang.String name,
boolean repeating,
boolean showInTrace)
constructor with same parameters as in SimProcess
|
| Modifier and Type | Method and Description |
|---|---|
void |
createAnimation(java.lang.String entityTypeId,
boolean showInAnimation)
createAnimation method of free entities, with initial state "active".
|
void |
createAnimation(java.lang.String entityTypeId,
java.lang.String state,
boolean showInAnimation)
createAnimation method of free entities.
|
void |
createAnimation(java.lang.String entityTypeId,
java.lang.String state,
PositionExt pos,
boolean showInAnimation)
createAnimation method of static entities.
|
void |
disposeAnimation()
Dispose the animation of this SimProcess
|
java.lang.String |
getAttribute(java.lang.String key) |
java.lang.String |
getState() |
void |
setAttribute(java.lang.String key,
java.lang.String value)
Set Attributes
|
void |
setState(java.lang.String state)
Set State
|
void |
setVelocity(java.lang.String attributeKey)
Set an attribute key as velocity attribute.
|
activate, activate, activate, activateAfter, activateBefore, activatePreempt, cancelInterruptDelayed, canCooperate, clearInterruptCode, cooperate, getActivatedBy, getInterruptCode, getInterruptException, getMaster, getRealTimeConstraint, getSchedulingPriority, getSlaveWaitQueue, getSupervisor, hold, hold, hold, interrupt, interrupt, interruptDelayed, interruptDelayed, isBlocked, isComponent, isDelayedInterruptScheduled, isInterrupted, isRepeating, isTerminated, lifeCycle, obtainResources, passivate, prepareTransport, reActivate, reActivate, resetMaster, returnAllResources, returnResources, setBlocked, setRealTimeConstraint, setRepeating, setSchedulingPriority, setSlaveWaitQueuegetIdentNumber, getQueueingPriority, getQueues, getScheduledEvents, isEqual, isLarger, isLargerOrEqual, isNotEqual, isQueued, isSimProcess, isSmaller, isSmallerOrEqual, schedule, schedule, schedule, schedule, schedule, schedule, schedule, schedule, schedule, scheduleAfter, scheduleAfter, scheduleAfter, scheduleBefore, scheduleBefore, scheduleBefore, schedulePreempt, schedulePreempt, schedulePreempt, setQueueingPriorityassignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, rename, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportablecurrent, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOngetName, getQuotedName, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getQueueingPrioritypublic SimProcessAnimation(ModelAnimation owner, java.lang.String name, boolean showInTrace)
owner - name - showInTrace - public SimProcessAnimation(ModelAnimation owner, java.lang.String name, boolean repeating, boolean showInTrace)
owner - name - repeating - showInTrace - public void createAnimation(java.lang.String entityTypeId,
boolean showInAnimation)
entityTypeId - entitType of EntityshowInAnimation - is shown in animationpublic void createAnimation(java.lang.String entityTypeId,
java.lang.String state,
boolean showInAnimation)
entityTypeId - entitType of Entitystate - initial stateshowInAnimation - is shown in animationpublic void createAnimation(java.lang.String entityTypeId,
java.lang.String state,
PositionExt pos,
boolean showInAnimation)
entityTypeId - entitType of Entitystate - initial statepos - extended position (middle point, angle, direction)showInAnimation - is shown in animationpublic void disposeAnimation()
public void setAttribute(java.lang.String key,
java.lang.String value)
setAttribute in interface EntityBasicAnimationkey - Attribute-key, possible keys are def in EntityTypevalue - Attribute-valuepublic void setState(java.lang.String state)
setState in interface EntityBasicAnimationstate - , possible states are def in EntityTypepublic void setVelocity(java.lang.String attributeKey)
attributeKey - public java.lang.String getState()
public java.lang.String getAttribute(java.lang.String key)