rp1.rossum.event
Class RsPlanEvent

java.lang.Object
  extended by rp1.rossum.event.RsEvent
      extended by rp1.rossum.event.RsPlanEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class RsPlanEvent
extends RsEvent

An event generated by the simulator on request by the application for communicating the floor-plan data. Note that the plan is defined as belonging to class java.lang.Object rather than RsPlan. This sub-optimal design is intended to avoid circular dependancies between rp1.rossum.event and rp1.rossum. We need to think of a better way to handle this issue.

See Also:
Serialized Form

Field Summary
 java.lang.Object plan
           
 
Fields inherited from class rp1.rossum.event.RsEvent
eventID, EVT_ARRAY_SIZE, EVT_CONTACT_SENSOR, EVT_ENCODER_STATUS, EVT_HEARTBEAT, EVT_MAX_CODE, EVT_MOTION_HALTED, EVT_MOTION_STARTED, EVT_MOUSE_CLICK, EVT_PAINT_SENSOR, EVT_PLACEMENT, EVT_PLAN, EVT_POSITION, EVT_RANGE_SENSOR, EVT_TARGET_SELECTION, EVT_TARGET_SENSOR, EVT_TIMEOUT, simTime
 
Constructor Summary
RsPlanEvent(double simTime, java.lang.Object plan)
           
 
Method Summary
 
Methods inherited from class rp1.rossum.event.RsEvent
consume, getEventID, getIndex, getSimTime, isConsumed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plan

public final java.lang.Object plan
Constructor Detail

RsPlanEvent

public RsPlanEvent(double simTime,
                   java.lang.Object plan)