This class defines an I/O channel that communicates via a console
Inheritance:
Public Methods
| Construction
|
| Open functions
|
Public Methods
-
Overrides from class PObject
-
Information functions
-
Reading functions
-
Writing functions
-
Miscellaneous functions
-
static BOOL ConvertOSError( int libcReturnValue, Errors & lastError, int & osError )
Public Members
-
Error functions
Protected Fields
-
int os_handle
-
Errors lastErrorCode[NumErrorGroups+1]
-
int lastErrorNumber[NumErrorGroups+1]
-
PINDEX lastReadCount
-
PINDEX lastWriteCount
-
PTimeInterval readTimeout
-
PTimeInterval writeTimeout
Protected Methods
-
virtual BOOL ConvertOSError( int libcReturnValue, ErrorGroup group = LastGeneralError )
-
BOOL SetErrorValues( Errors errorCode, int osError, ErrorGroup group = LastGeneralError )
-
int ReadCharWithTimeout( PTimeInterval & timeout )
Inherited from PObject:
Public Methods
-
Run Time Type functions
-
I/O functions
Public Members
-
Comparison functions
Documentation
This class defines an I/O channel that communicates via a console
Construction
PConsoleChannel()
- Create a new console channel object, leaving it unopen
PConsoleChannel( ConsoleType type )
- Create a new console channel object, connecting to the I/O stream.
- Parameters:
- - type Type of console for object
Open functions
virtual BOOL Open( ConsoleType type )
- Open a serial channal.
The channel is opened it on the specified port and with the specified
attributes.
- Parameters:
- - type Type of console for object
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.