public class GetPath
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
Modifier and Type | Field and Description |
---|---|
protected String |
Id
Message Id made up by you and echoed in response so you can
match up response with query.
|
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location |
Location
Location you want to go to.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Target
UnrealId of navigation point you want to find path to.
|
Constructor and Description |
---|
GetPath()
Creates new instance of command GetPath.
|
GetPath(GetPath original)
Cloning constructor.
|
GetPath(String Id,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target,
cz.cuni.amis.pogamut.base3d.worldview.object.Location Location)
Creates new instance of command GetPath.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Message Id made up by you and echoed in response so you can
match up response with query.
|
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getLocation()
Location you want to go to.
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getTarget()
UnrealId of navigation point you want to find path to.
|
GetPath |
setId(String Id)
Message Id made up by you and echoed in response so you can
match up response with query.
|
GetPath |
setLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location Location)
Location you want to go to.
|
GetPath |
setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
UnrealId of navigation point you want to find path to.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected String Id
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location Location
public GetPath(String Id, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target, cz.cuni.amis.pogamut.base3d.worldview.object.Location Location)
Id
- Message Id made up by you and echoed in response so you can
match up response with query.Target
- UnrealId of navigation point you want to find path to. Will be parsed BEFORE Location attribute. If supported, Location attribute won't be parsed. If the point does not exists, blank path will be returned.Location
- Location you want to go to.public GetPath()
public GetPath(GetPath original)
original
- public String getId()
public GetPath setId(String Id)
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getTarget()
public GetPath setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
public GetPath setLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location Location)
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.