|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface IDebugEngine
This interface is representation of AI debugger engine, you can start it, ask for breakpoints, it notifies you about evaluations of plans and other stuff.
| Method Summary | |
|---|---|
boolean |
addBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path,
boolean single)
Add a breakpoint to the primitive at the specified path. |
boolean |
addListener(IDebugEngineListener listener)
Add listener for changes in state of the engine, it is synchronized. |
void |
disconnect(String reason,
boolean error)
Disconnect engine, stop the info, remove breakpoint, clean after yourself and notify displayer. |
void |
initialize()
Initialize the engine, once initialized, you can do some useful stuff, like disconnecting, adding breakpoints and being notified about evaluation of the executing plan. |
boolean |
removeBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
Remove breakpoint from the debugged plan. |
boolean |
removeListener(IDebugEngineListener listener)
Remove listener from set of listeners of this engine. |
| Method Detail |
|---|
void initialize()
IDebuggerListener,
that is has been initialized, so they can reflect new reality.
boolean addBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path,
boolean single)
path - path to the breakpointed element
boolean removeBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
path - path to the breakpoint
void disconnect(String reason,
boolean error)
reason - What is the reason the debugger is being disconnected, the
reason will be passed to other listeners later, so it may be displayed to
the user.error - Should debugger disconnect because of an error (e.g. someone
got DashPath incompatible with recieved plan).boolean addListener(IDebugEngineListener listener)
listener - new listener to add, not null
boolean removeListener(IDebugEngineListener listener)
listener - listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||