#include <VoiceInstructionAgent.h>
◆ ~NoOpTTSMessageGenerator()
| osmscout::NoOpTTSMessageGenerator::~NoOpTTSMessageGenerator |
( |
| ) |
|
|
overridedefault |
◆ GenerateMessage()
Generate a spoken message for the given maneuver.
- Parameters
-
| distanceFromStart | current position (distance from the route start). Together with the maneuver distance it defines how far ahead the maneuver is, which may be announced ("After 300 meters, ...") and controls the wording (e.g. a short roundabout phrase when close). |
| message | the maneuver to announce |
| then | optional following maneuver, only announced when close enough |
- Returns
- the message text, or std::nullopt when there is nothing to say
Implements osmscout::TTSMessageGenerator.
◆ SetLanguage()
| bool osmscout::NoOpTTSMessageGenerator::SetLanguage |
( |
const std::string & |
languageCode | ) |
|
|
inlineoverridevirtual |
◆ SetUnits()
◆ SetVehicle()
| void osmscout::NoOpTTSMessageGenerator::SetVehicle |
( |
Vehicle |
vehicle | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: