GNU CommonC++
|
The TTYSession aggragates a TTYStream and a Common C++ Thread which is assumed to be the execution context that will be used to perform actual I/O operations. More...
#include <serial.h>
Public Member Functions | |
TTYSession (const char *name, int pri=0, int stack=0) | |
Create TTY stream that will be managed by it's own thread. | |
virtual | ~TTYSession () |
The TTYSession aggragates a TTYStream and a Common C++ Thread which is assumed to be the execution context that will be used to perform actual I/O operations.
This class is very anagolous to TCPSession.
ost::TTYSession::TTYSession | ( | const char * | name, |
int | pri = 0 , |
||
int | stack = 0 |
||
) |
Create TTY stream that will be managed by it's own thread.
name | of tty device to open. |
pri | execution priority. |
stack | allocation needed on some platforms. |
virtual ost::TTYSession::~TTYSession | ( | ) | [virtual] |