OutputStreamclass | output.t[197] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
Output streams are always transient, since they track the system user interface in the interpreter. The interpreter does not save its UI state with a saved position, so objects such as output streams that track the UI state should not be saved either.
class
OutputStream : PreinitObject
OutputStream
PreinitObject
ModuleExecObject
object
OutputStream
BannerOutputStream
LogConsole
WebWinOutputStream
mainOutputStream
menuOutputStream
statusLeftOutputStream
statusRightOutputStream
statusTagOutputStream
filterList_
justDidPara
justDidParaSuppressor
myInputManager
prefix
Inherited from PreinitObject
:
execBeforeMe
reverseGlobalSymbols
Inherited from ModuleExecObject
:
execAfterMe
hasInitialized_
isDoingExec_
isExecuted_
addOutputFilter
addOutputFilterBelow
applyFilters
applyTextFilters
captureOutput
captureOutputIgnoreExit
construct
execute
inputLineEnd
removeOutputFilter
setPrefix
watchForOutput
writeFromStream
writeToStream
Inherited from ModuleExecObject
:
_execute
classExec
filterList_ | output.t[414] |
justDidPara | output.t[534] |
justDidParaSuppressor | output.t[542] |
myInputManager | output.t[373] |
prefix | output.t[545] |
addOutputFilter (filter) | output.t[424] |
Filters are always arranged in a "stack": the last output filter added is the first one called during output. This method thus adds the new filter at the "top" of the stack.
addOutputFilterBelow (newFilter, existingFilter) | output.t[439] |
If 'existingFilter' isn't in the stack of existing filters, we'll add the new filter at the "top" of the stack.
applyFilters (val) | output.t[479] |
applyTextFilters (val) | output.t[499] |
captureOutput (func, [args]) | output.t[303] |
captureOutputIgnoreExit (func, [args]) | output.t[332] |
construct ( ) | output.t[376] |
execute ( ) OVERRIDDEN | output.t[386] |
inputLineEnd ( ) | output.t[522] |
removeOutputFilter (filter) | output.t[465] |
setPrefix (txt) | output.t[548] |
watchForOutput (func) | output.t[260] |
writeFromStream (txt) | output.t[407] |
Each output stream is conceptually "stacked" on top of another, lower-level stream. At the bottom of the stack is usually some kind of physical device, such as the display, or a file on disk.
This method must be defined in each subclass to write to the appropriate underlying stream. Most subclasses are specifically designed to sit atop a system-level stream, such as the display output stream, so most implementations of this method will call directly to a system-level output function.
writeToStream (val) | output.t[204] |