|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.fleet.actions.CustomNodeActionContext
public final class CustomNodeActionContext
Context object for CustomNodeAction execution. A context holds the robot executing the action, the
TopologyNode at which the action has to be executed, the NodeActionExecutionType of the action, and
the plan executed by the robot in which the action occurs.
| Constructor Summary | |
|---|---|
CustomNodeActionContext(com.kuka.nav.robot.MobileRobot r,
TopologyNode n,
NodeActionExecutionType type,
Plan plan,
int index)
Constructor. |
|
| Method Summary | |
|---|---|
NodeActionExecutionType |
getExecutionType()
Gets the NodeActionExecutionType according to which the CustomNodeAction should be executed. |
int |
getIndex()
Gets the index in this context's plan where the CustomNodeAction corresponding to this context occurs. |
TopologyNode |
getNode()
Gets the topology graph node. |
Plan |
getPlan()
Gets the plan in which the CustomNodeAction corresponding to this context occurs. |
com.kuka.nav.robot.MobileRobot |
getRobot()
Gets the mobile robot resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomNodeActionContext(com.kuka.nav.robot.MobileRobot r,
TopologyNode n,
NodeActionExecutionType type,
Plan plan,
int index)
r - the robotn - the nodetype - the node action execution typeplan - the plan executed by the robotindex - the index at which the CustomNodeAction to be executed occurs in the plan| Method Detail |
|---|
public com.kuka.nav.robot.MobileRobot getRobot()
public TopologyNode getNode()
public NodeActionExecutionType getExecutionType()
NodeActionExecutionType according to which the CustomNodeAction should be executed.
Note that the execution type may not yet have been fixed for the CustomNodeAction to be executed in this
context. In this case null is returned.
NodeActionExecutionTypepublic Plan getPlan()
CustomNodeAction corresponding to this context occurs.
public int getIndex()
CustomNodeAction corresponding to this context occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||