util
Class SimEvent

java.lang.Object
  extended by util.SimEvent

public class SimEvent
extends java.lang.Object

This class defines the basic SimEvent methods for passing event information to the various classes that pass and receive the event objects.


Constructor Summary
SimEvent(java.lang.String type)
          Generates a SimEvent object of a given type.
 
Method Summary
 int get_event_id()
          Get the id of the event.
 java.lang.String get_type()
          Get the type for the event.
 void Print()
          Output a representative string for this SimEvent object.
 java.lang.String toString()
          Create a representative string for this SimEvent object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimEvent

public SimEvent(java.lang.String type)
Generates a SimEvent object of a given type.

Parameters:
type - the event type.
Method Detail

get_event_id

public int get_event_id()
Get the id of the event.

Returns:
the event_id value.

get_type

public java.lang.String get_type()
Get the type for the event.

Returns:
the event type value.

toString

public java.lang.String toString()
Create a representative string for this SimEvent object.

Overrides:
toString in class java.lang.Object
Returns:
the SimEvent string representation.

Print

public void Print()
Output a representative string for this SimEvent object.