#include <conchan.h>
Inheritance diagram for PConsoleChannel:
Public Types | |
enum | ConsoleType { StandardInput, StandardOutput, StandardError } |
Public Member Functions | |
PString | GetName () const |
BOOL | Close () |
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. | |
Open functions | |
virtual BOOL | Open (ConsoleType type) |
|
|
|
Create a new console channel object, leaving it unopen.
|
|
Create a new console channel object, connecting to the I/O stream.
|
|
Close the channel, shutting down the link to the data source.
Reimplemented from PChannel. |
|
Get the platform and I/O channel type name of the channel. For example, it would return the filename in PFile# type channels.
Reimplemented from PChannel. |
|
Open a serial channal. The channel is opened it on the specified port and with the specified attributes.
|