Package ptolemy.vergil.debugger
Class DebugProfile
- java.lang.Object
-
- ptolemy.vergil.debugger.DebugProfile
-
public class DebugProfile extends java.lang.ObjectProfile for an actor being debugged. Contains the FiringEventTypes on which the actor should break.- Since:
- Ptolemy II 2.1
- Version:
- $Id$
- Author:
- Elaine Cheong
- Pt.AcceptedRating:
- Red (celaine)
- Pt.ProposedRating:
- Red (celaine)
-
-
Constructor Summary
Constructors Constructor Description DebugProfile(BasicGraphController graphController)Construct a debug profile for an actor with the associated GraphController.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicGraphControllergetGraphController()Get the GraphController.booleanisListening(FiringEvent.FiringEventType type)See if the DebugProfile contains this FiringEventType.voidlistenForEvent(FiringEvent.FiringEventType type)Add this FiringEventType to the DebugProfile.booleanmatches(FiringEvent.FiringEventType type)See if the DebugProfile contains this FiringEventType.voidunlistenForEvent(FiringEvent.FiringEventType type)Remove this FiringEventType from the DebugProfile.
-
-
-
Constructor Detail
-
DebugProfile
public DebugProfile(BasicGraphController graphController)
Construct a debug profile for an actor with the associated GraphController.- Parameters:
graphController- The GraphController.
-
-
Method Detail
-
getGraphController
public BasicGraphController getGraphController()
Get the GraphController.- Returns:
- The GraphController.
-
isListening
public boolean isListening(FiringEvent.FiringEventType type)
See if the DebugProfile contains this FiringEventType.- Parameters:
type- the FiringEventType.- Returns:
- True if the DebugProfile contains this FiringEventType.
-
listenForEvent
public void listenForEvent(FiringEvent.FiringEventType type)
Add this FiringEventType to the DebugProfile.- Parameters:
type- the FiringEventType.
-
matches
public boolean matches(FiringEvent.FiringEventType type)
See if the DebugProfile contains this FiringEventType.- Parameters:
type- the FiringEventType.- Returns:
- True if the DebugProfile contains this FiringEventType.
-
unlistenForEvent
public void unlistenForEvent(FiringEvent.FiringEventType type)
Remove this FiringEventType from the DebugProfile.- Parameters:
type- the FiringEventType.
-
-