|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.deepthought.sidious.gui.SidiousOutput
public class SidiousOutput
Class works as a provider of messages from within the planner.
Field Summary | |
---|---|
private static SidiousOutput |
INSTANCE
The singleton instance of this. |
private static java.util.List<SidiousController> |
listeners
List of listeners. |
Constructor Summary | |
---|---|
private |
SidiousOutput()
Private constructor. |
Method Summary | |
---|---|
void |
addFinishedPlan(Plan plan)
Adds a finished plan to this. |
void |
addVertex(Vertex vertex)
Adds a vertex to this. |
static SidiousOutput |
getInstance()
Gets the singleton instance of this. |
void |
register(SidiousController controller)
Registers the specified controller as listener of this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final SidiousOutput INSTANCE
private static java.util.List<SidiousController> listeners
Constructor Detail |
---|
private SidiousOutput()
Method Detail |
---|
public static SidiousOutput getInstance()
public void addVertex(Vertex vertex)
Is called from the jAStar method in the AStarAlgorithm class.
vertex
- AStarAlgorithm
public void register(SidiousController controller)
controller
- the controller to registerpublic void addFinishedPlan(Plan plan)
plan
- the plan to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |