class PConsoleChannel: public PChannel

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

Inheritance:


Public

[more] Construction
[more] Open functions


Inherited from PChannel:

Public Methods

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

Public

Overrides from class PObject

Information functions

Reading functions

Writing functions

Miscellaneous functions

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

Run Time Type functions

Comparison functions

I/O functions


Documentation

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

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

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

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