Package com.anylogic.engine
- java.lang.Object
-
- com.anylogic.engine.EventOriginator
-
- com.anylogic.engine.Event
- All Implemented Interfaces:
com.anylogic.engine.internal.Child
,java.io.Serializable
- Direct Known Subclasses:
EventCondition
,EventRate
,EventTimeout
public abstract class Event extends EventOriginator implements com.anylogic.engine.internal.Child
Base class for all kinds of (static) events: EventTimeout, EventRate and
EventCondition.
Memory: sizeof(EventOriginator) = 22 bytes
Memory: sizeof(EventOriginator) = 22 bytes
- Author:
- AnyLogic North America, LLC https://anylogic.com
- See Also:
- Serialized Form
abstract void |
reset() |
|
abstract void |
restart() |
|
void |
restoreOwner(java.lang.Object owner) |
Deprecated.
|
abstract void |
start() |
Should be called when the agents starts.
|
Modifier and Type | Method | Description |
---|
cancel, getActiveObject, getAgent, getFullName, getName, getRest, getRest, isActive, isCurrent, isLoggingToDB, onDestroy, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public abstract void reset()
public abstract void restart()
@AnyLogicInternalCodegenAPI public abstract void start()
Should be called when the agents starts. Performs initial
event scheduling.
@AnyLogicInternalCodegenAPI @Deprecated public void restoreOwner(java.lang.Object owner)
Deprecated.
This method normally should not be called by user
This method restores owner of this object
The method is used in snapshot saving/loading
This method restores owner of this object
The method is used in snapshot saving/loading
- Specified by:
restoreOwner
in interfacecom.anylogic.engine.internal.Child
- Parameters:
owner
- owner of this object, usuallyAgent
,Experiment
orShapeGroup
-
How can we improve this article?
-