Linux based class for output on concole and also tty0 (lcd display). More...
#include <boardout.h>
Public Types | |
| enum | OutputType { TtyOutput = 1, ConsoleOutput = 2, AllTypes = 3 } |
Types of otuput. More... | |
Public Member Functions | |
| BoardOut (OutputType type=AllTypes) | |
| Constructor with define of output type. | |
| void | clear (int output_types=AllTypes) |
| Clear output screen. | |
Friends | |
| BoardOut & | operator<< (BoardOut &bo, char *c_str) |
| Print c string. | |
| BoardOut & | operator<< (BoardOut &bo, std::string str) |
| Print std string. | |
| BoardOut & | operator<< (BoardOut &bo, int i) |
| Print int. | |
Linux based class for output on concole and also tty0 (lcd display).
Class provide easy mechanism to writing on console or display of board.
Example: ;
BoardOut out;
out << "Hello world\n"
| enum BoardOut::OutputType |
| BoardOut::BoardOut | ( | OutputType | type = AllTypes |
) |
Constructor with define of output type.
You may define type output in constructor.
Example: ;
BoardOut out1();
BoardOut out2( BoardOut::TtyOutput );
BoardOut out3( BoardOut::TtyOutput | BoardOut::ConsoleOutput );
| type | OutputType |
| void BoardOut::clear | ( | int | output_types = AllTypes |
) |
Clear output screen.
1.6.3