OutputStreamclass | output.t[98] |
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
mainOutputStream
statusLeftOutputStream
statusRightOutputStream
statusTagOutputStream
filterList_
justDidPara
justDidParaSuppressor
myInputManager
Inherited from ModuleExecObject
:
execAfterMe
execBeforeMe
hasInitialized_
isDoingExec_
isExecuted_
addOutputFilter
addOutputFilterBelow
applyFilters
captureOutput
construct
execute
inputLineEnd
removeOutputFilter
watchForOutput
writeFromStream
writeToStream
Inherited from ModuleExecObject
:
_execute
classExec
filterList_ | output.t[245] |
justDidPara | output.t[350] |
justDidParaSuppressor | output.t[358] |
myInputManager | output.t[204] |
addOutputFilter (filter) | output.t[255] |
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[270] |
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[312] |
captureOutput (func, [args]) | output.t[180] |
construct ( ) | output.t[207] |
execute ( ) OVERRIDDEN | output.t[217] |
inputLineEnd ( ) | output.t[338] |
removeOutputFilter (filter) | output.t[298] |
watchForOutput (func) | output.t[152] |
writeFromStream (txt) | output.t[238] |
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[105] |