Next: Nonvirtual member functions
Up: UIText
Previous: Constructors
- NameList<TextCallback *> textProcessors - a list of all the
words which this object understands as the first word in a specific command,
and the callback function to call when a command with the starting word is
entered. TextCallback is a typedef for the callback function, as
defined in the file Command.h.
- int needPrompt - whether or not the prompt needs to be
printed the next time it is possible to do so.
- Stack<FILE *> input_files - a stack containing the FILE
structures for the files to read commands from. When a new file is opened
for reading, the currently open file is pushed down on the stack and the
new file is put at the top of the stack. When the end of the file is
reached, the stack is popped and reading from the new top file is resumed.
In this way files may be read in a nested fashion. When the stack is
empty, input is read from standard input.
- int doEcho - flag to indicate if text commands should be
echoed back to the console after they have been entered (even if from a
file or from the console).
- Inform txtMsgEcho - the Inform object to use for
echoing commands.
- Timer mytimer - the Timer object is used to measure how
long to wait before reading the next message, if the user has requested a
waiting period between commands.
- float delay - the amount of time to wait (in seconds) before
attempting to read the next command. Once the waiting period is over, this
is set to zero.
Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999