class PConsoleChannel

This class defines an I/O channel that communicates via a console

Inheritance:


Public Methods

[more] Construction
[more] Open functions


Inherited from PChannel:

Public Methods

Overrides from class PObject

Information functions

Reading functions

Writing functions

Miscellaneous functions

ostatic BOOL ConvertOSError( int libcReturnValue, Errors & lastError, int & osError )

Public Members

Error functions

Protected Fields

oint os_handle
oErrors lastErrorCode[NumErrorGroups+1]
oint lastErrorNumber[NumErrorGroups+1]
oPINDEX lastReadCount
oPINDEX lastWriteCount
oPTimeInterval readTimeout
oPTimeInterval writeTimeout

Protected Methods

ovirtual BOOL ConvertOSError( int libcReturnValue, ErrorGroup group = LastGeneralError )
oBOOL SetErrorValues( Errors errorCode, int osError, ErrorGroup group = LastGeneralError )
oint 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
o Construction

o PConsoleChannel()
Create a new console channel object, leaving it unopen

o PConsoleChannel( ConsoleType type )
Create a new console channel object, connecting to the I/O stream.
Parameters:
- type Type of console for object

o Open functions

ovirtual 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++.