Process().
WBA_Application::WBA_Application.
| WBA_Application | public |
continueProcessing is not FALSE:
Process() member function.
WBA_Application::exitCode.
void SetPrompt(const GPL_String & p)
Set the shell prompt. The default shell prompt is the application name
(as returned by GetName()).
void AddCommand(WBA_CommandHandler *command)
Add the command handler, command. In Main() a list of command
handlers is maintained against which input lines are checked. If an
input line matches a command handler the command handler's
HandleCommand() method is called.
void RemoveCommand(WBA_CommandHandler *command)
Remove the command handler, command.
void DoneProcessing(void)
Set continueProcessing to FALSE.
void PrintHandlerHelp(WBA_CommandHandler *handler)
Print the help for the command handler, handler.
void AddCommandInput(const GPL_String & string)
Add the line, string to the input to the shell.
void SetEchoMode(const GPL_Boolean mode)
If mode is TRUE, enables the display of commands
which are executed. If mode is FALSE disables
such display.
void SetInputEchoMode(const GPL_Boolean mode)
If mode is TRUE, enables the display of characters
which are typed. If mode is FALSE, disables such
display.
void SetLineInterpreter(WBA_LineInterpreter *i)
Set the line interpreter used to interpret input lines to i.
The default is an object-specific instance of
WBA_BourneShellLineInterpreter.
void PrintCommands(void)
Print all the valid commands.
virtual void Process(void)
Perform functionality of the shell that may not be command-specific.
WBA_Shell::Main().