#import <DefaultLineFilter.h>
Inherits CharacterLineFilter.
Inherited by ANSIDefaultLineFilter, and XTermDefaultLineFilter.
Inheritance diagram for DefaultLineFilter:


This class encompasses behavior common to ANSI and xterm line filters. The default filters behave the same, but the escape and alt-char line filters differ. Subclasses just produce the proper CharacterLineFilter subclasses for those filter types.
Definition at line 15 of file DefaultLineFilter.h.
Public Member Functions | |
| (id) | - initWithTerminal: |
| Initialize as the default line filter. | |
| (id) | - processCharacter: |
| Process a character in the manner common to ANSI and xterm terminals. | |
| (CharacterLineFilter *) | - escapeLineFilter |
| A new instance of the escape-sequence filter handler. | |
| (CharacterLineFilter *) | - altCharLineFilter |
| A new instance of the alt-sequence filter handler. | |
| (id) | - processData: [implementation] |
| Process many characters of input. | |
|
|
A new instance of the alt-sequence filter handler.
Reimplemented in ANSIDefaultLineFilter, and XTermDefaultLineFilter. Definition at line 34 of file DefaultLineFilter.m. Referenced by processCharacter:. |
|
|
A new instance of the escape-sequence filter handler.
Reimplemented in ANSIDefaultLineFilter, and XTermDefaultLineFilter. Definition at line 33 of file DefaultLineFilter.m. Referenced by processCharacter:. |
|
|
Initialize as the default line filter. A DefaultLineFilter has no fallback, so none need be specified, but it must be told of its target terminal.
Definition at line 27 of file DefaultLineFilter.m. References CharacterLineFilter::initWithFallback:terminal:. Here is the call graph for this function: ![]() |
|
|
Process a character in the manner common to ANSI and xterm terminals. If an escape or start-alt-char character comes in, the result of escapeLineFilter or altCharLineFilter is returned.
Reimplemented from CharacterLineFilter. Definition at line 36 of file DefaultLineFilter.m. References altCharLineFilter, escapeLineFilter, and CharacterLineFilter::terminalDevice. Here is the call graph for this function: ![]() |
|
|
Process many characters of input. This method iterates through the bytes of the given NSData, sending the first in a processCharacter: message to the receiver, and the succeeding ones to whatever line filter is top. The filter for the next character is returned, so always update the filter-stack variable with the result of this method.
Reimplemented from CharacterLineFilter. Definition at line 76 of file DefaultLineFilter.m. References length(), and CharacterLineFilter::terminalDevice. Here is the call graph for this function: ![]() |
1.4.4