Poster of Linux kernelThe best gift for a Linux geek
ost::TTYSession

ost::TTYSession

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

NAME

ost::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.

 

SYNOPSIS


#include <serial.h>

Inherits ost::Thread, and ost::TTYStream.  

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 ()
 

Detailed Description

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.

Author:

David Sugar <dyfet@ostel.com> This class is very anagolous to TCPSession.

 

Constructor & Destructor Documentation

 

ost::TTYSession::TTYSession (const char * name, int pri = 0, int stack = 0)

Create TTY stream that will be managed by it's own thread. Parameters:

name of tty device to open.
pri execution priority.
stack allocation needed on some platforms.

 

virtual ost::TTYSession::~TTYSession () [virtual]

 

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Constructor & Destructor Documentation
ost::TTYSession::TTYSession (const char * name, int pri = 0, int stack = 0)
virtual ost::TTYSession::~TTYSession () [virtual]
Author

This document was created by man2html, using the manual pages.
Time: 21:51:52 GMT, April 16, 2011