Rtos API example
TextDisplay Class Reference
TextDisplay interface. More...
#include <TextDisplay.h>
Inherited by GraphicsDisplay, and TextLCD.
Public Member Functions | |
TextDisplay (const char *name=NULL) | |
Create a TextDisplay interface. | |
virtual void | character (int column, int row, int c)=0 |
Output a character at the given position. | |
virtual int | rows ()=0 |
Return number of rows on TextDisplay. | |
virtual int | columns ()=0 |
Return number if columns on TextDisplay\. | |
virtual bool | claim (FILE *stream) |
Redirect output from a stream (stoud, sterr) to display. | |
virtual void | cls () |
Clear screen. | |
virtual void | locate (int column, int row) |
Change the cursor position to column, row (in pixels) |
Detailed Description
TextDisplay interface.
Definition at line 21 of file mbed/freopen/TextDisplay.h.
Constructor & Destructor Documentation
TextDisplay | ( | const char * | name = NULL ) |
Create a TextDisplay interface.
- Parameters:
-
name The name used in the path to access the strean through the filesystem
Member Function Documentation
virtual void character | ( | int | column, |
int | row, | ||
int | c | ||
) | [pure virtual] |
Output a character at the given position.
- Parameters:
-
column column where charater must be written row where character must be written c the character to be written to the TextDisplay
Implemented in C12832.
bool claim | ( | FILE * | stream ) | [virtual] |
Redirect output from a stream (stoud, sterr) to display.
- Parameters:
-
stream stream that shall be redirected to the TextDisplay
Definition at line 65 of file peripherals/C12832/TextDisplay.cpp.
virtual void cls | ( | ) | [virtual] |
Clear screen.
Reimplemented in C12832.
virtual int columns | ( | ) | [pure virtual] |
Return number if columns on TextDisplay\.
number of rows
virtual void locate | ( | int | column, |
int | row | ||
) | [virtual] |
Change the cursor position to column, row (in pixels)
Reimplemented in C12832.
virtual int rows | ( | ) | [pure virtual] |
Generated on Sun Jul 17 2022 08:25:42 by 1.7.2