Package ptolemy.domains.ptera.kernel
Class EventDebugEvent
- java.lang.Object
-
- ptolemy.domains.modal.kernel.StateEvent
-
- ptolemy.domains.ptera.kernel.EventDebugEvent
-
- All Implemented Interfaces:
DebugEvent
public class EventDebugEvent extends StateEvent
An event indicating the beginning and end of processing an event. This event can be used for debugging.- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Thomas Huining Feng
- Pt.AcceptedRating:
- Red (tfeng)
- Pt.ProposedRating:
- Yellow (tfeng)
-
-
Constructor Summary
Constructors Constructor Description EventDebugEvent(PteraController source, Event event, boolean isProcessed)
Construct an event with the specified source and destination Ptera event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event
getEvent()
Get the Ptera event.boolean
isProcessed()
Return whether the Ptera event is processed.-
Methods inherited from class ptolemy.domains.modal.kernel.StateEvent
getSource, getState, toString
-
-
-
-
Constructor Detail
-
EventDebugEvent
public EventDebugEvent(PteraController source, Event event, boolean isProcessed)
Construct an event with the specified source and destination Ptera event.- Parameters:
source
- The source of this state event.event
- The Ptera event.isProcessed
- Whether the Ptera event is processed or not.
-
-
Method Detail
-
getEvent
public Event getEvent()
Get the Ptera event.- Returns:
- The Ptera event.
-
isProcessed
public boolean isProcessed()
Return whether the Ptera event is processed.- Returns:
- Whether the Ptera event is processed.
-
-