com.xj.anylogic.engine
Class Event

java.lang.Object
  extended by com.xj.anylogic.engine.EventOriginator
      extended by com.xj.anylogic.engine.Event
All Implemented Interfaces:
com.xj.anylogic.engine.internal.Child, java.io.Serializable
Direct Known Subclasses:
EventCondition, EventRate, EventTimeout

public abstract class Event
extends EventOriginator
implements com.xj.anylogic.engine.internal.Child

Base class for all kinds of (static) events: EventTimeout, EventRate and EventCondition.
Memory: sizeof(EventOriginator) = 22 bytes

Author:
XJ Technologies Company Ltd. www.anylogic.com
See Also:
Serialized Form

Method Summary
abstract  void reset()
           
abstract  void restart()
           
 void restoreOwner(java.lang.Object owner)
          This method normally should not be called by user
This method restores owner of this object
The method is used in snapshot saving/loading
abstract  void start()
          Should be called whe the active objects starts.
 
Methods inherited from class com.xj.anylogic.engine.EventOriginator
cancel, getActiveObject, getFullName, getName, getRest, isActive, onDestroy, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

reset

public abstract void reset()

restart

public abstract void restart()

start

public abstract void start()
Should be called whe the active objects starts. Performs initial event scheduling.


restoreOwner

public void restoreOwner(java.lang.Object owner)
This method normally should not be called by user
This method restores owner of this object
The method is used in snapshot saving/loading

Specified by:
restoreOwner in interface com.xj.anylogic.engine.internal.Child
Parameters:
owner - owner of this object, usually ActiveObject, Experiment or ShapeGroup


Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.