OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Static Protected Attributes
net.osmand.plus.voice.CommandBuilder Class Reference

List of all members.

Public Member Functions

 CommandBuilder (CommandPlayer commandPlayer)
 CommandBuilder (CommandPlayer commandPlayer, boolean preamble)
CommandBuilder goAhead ()
CommandBuilder goAhead (double dist)
CommandBuilder makeUTwp ()
CommandBuilder makeUT ()
CommandBuilder makeUT (double dist)
CommandBuilder prepareMakeUT (double dist)
CommandBuilder turn (String param)
CommandBuilder turn (String param, double dist)
CommandBuilder prepareTurn (String param, double dist)
CommandBuilder prepareRoundAbout (double dist)
CommandBuilder roundAbout (double dist, double angle, int exit)
CommandBuilder roundAbout (double angle, int exit)
CommandBuilder andArriveAtDestination ()
CommandBuilder arrivedAtDestination ()
CommandBuilder bearLeft ()
CommandBuilder bearRight ()
CommandBuilder then ()
CommandBuilder gpsLocationLost ()
CommandBuilder newRouteCalculated (double dist)
CommandBuilder routeRecalculated (double dist)
void play ()

Protected Member Functions

List< String > execute ()

Static Protected Attributes

static final String C_PREPARE_TURN = "prepare_turn"
static final String C_PREPARE_ROUNDABOUT = "prepare_roundabout"
static final String C_PREPARE_MAKE_UT = "prepare_make_ut"
static final String C_ROUNDABOUT = "roundabout"
static final String C_GO_AHEAD = "go_ahead"
static final String C_TURN = "turn"
static final String C_MAKE_UT = "make_ut"
static final String C_MAKE_UTWP = "make_ut_wp"
static final String C_PREAMBLE = "preamble"
static final String C_AND_ARRIVE_DESTINATION = "and_arrive_destination"
static final String C_THEN = "then"
static final String C_REACHED_DESTINATION = "reached_destination"
static final String C_BEAR_LEFT = "bear_left"
static final String C_BEAR_RIGHT = "bear_right"
static final String C_ROUTE_RECALC = "route_recalc"
static final String C_ROUTE_NEW_CALC = "route_new_calc"
static final String C_LOCATION_LOST = "location_lost"

Constructor & Destructor Documentation

net.osmand.plus.voice.CommandBuilder.CommandBuilder ( CommandPlayer  commandPlayer,
boolean  preamble 
)

Member Function Documentation

List<String> net.osmand.plus.voice.CommandBuilder.execute ( ) [protected]
Parameters:
paramA_LEFT, A_RIGHT, ...
dist
Returns:
CommandBuilder net.osmand.plus.voice.CommandBuilder.roundAbout ( double  dist,
double  angle,
int  exit 
)
CommandBuilder net.osmand.plus.voice.CommandBuilder.turn ( String  param,
double  dist 
)

Member Data Documentation

final String net.osmand.plus.voice.CommandBuilder.C_AND_ARRIVE_DESTINATION = "and_arrive_destination" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_BEAR_LEFT = "bear_left" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_BEAR_RIGHT = "bear_right" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_GO_AHEAD = "go_ahead" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_LOCATION_LOST = "location_lost" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_MAKE_UT = "make_ut" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_MAKE_UTWP = "make_ut_wp" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_PREAMBLE = "preamble" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_PREPARE_MAKE_UT = "prepare_make_ut" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_PREPARE_ROUNDABOUT = "prepare_roundabout" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_PREPARE_TURN = "prepare_turn" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_REACHED_DESTINATION = "reached_destination" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_ROUNDABOUT = "roundabout" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_ROUTE_NEW_CALC = "route_new_calc" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_ROUTE_RECALC = "route_recalc" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_THEN = "then" [static, protected]
final String net.osmand.plus.voice.CommandBuilder.C_TURN = "turn" [static, protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines