public class MissionTreePlanDbAdapter extends PlanDBAdapter
Constructor and Description |
---|
MissionTreePlanDbAdapter(ConsoleLayout console,
MissionTreePanel missionTree) |
Modifier and Type | Method and Description |
---|---|
void |
dbCleared() |
void |
dbInfoUpdated(PlanDBState updatedInfo)
This method is called whenever an update is received from the remote state
|
void |
dbPlanReceived(PlanType spec)
This method is called whenever a plan is received from the vehicle
|
void |
dbPlanRemoved(java.lang.String planId)
This method is called whenever a sent plan was received successfully by the vehicle
|
void |
dbPlanSent(java.lang.String planId)
This method is called whenever a sent plan was received successfully by the vehicle
|
void |
setDebugOn(boolean debugOn) |
public MissionTreePlanDbAdapter(ConsoleLayout console, MissionTreePanel missionTree)
public void dbCleared()
dbCleared
in interface IPlanDBListener
dbCleared
in class PlanDBAdapter
public void dbInfoUpdated(PlanDBState updatedInfo)
IPlanDBListener
dbInfoUpdated
in interface IPlanDBListener
dbInfoUpdated
in class PlanDBAdapter
updatedInfo
- The new updated remote PlanDB statepublic void dbPlanReceived(PlanType spec)
IPlanDBListener
dbPlanReceived
in interface IPlanDBListener
dbPlanReceived
in class PlanDBAdapter
public void dbPlanRemoved(java.lang.String planId)
IPlanDBListener
dbPlanRemoved
in interface IPlanDBListener
dbPlanRemoved
in class PlanDBAdapter
public void dbPlanSent(java.lang.String planId)
IPlanDBListener
dbPlanSent
in interface IPlanDBListener
dbPlanSent
in class PlanDBAdapter
public void setDebugOn(boolean debugOn)
debugOn
- the debugOn to setCopyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.