#include <conchan.h>
Inheritance diagram for PConsoleChannel:
Public Types | |
enum | ConsoleType { StandardInput, StandardOutput, StandardError } |
Public Member Functions | |
PString | GetName () const |
BOOL | Close () |
Open functions | |
virtual BOOL | Open (ConsoleType type) |
PConsoleChannel::PConsoleChannel | ( | ) |
Create a new console channel object, leaving it unopen.
PConsoleChannel::PConsoleChannel | ( | ConsoleType | type | ) |
Create a new console channel object, connecting to the I/O stream.
type | Type of console for object |
PConsoleChannel::PConsoleChannel | ( | ) |
Create a new console channel object, leaving it unopen.
PConsoleChannel::PConsoleChannel | ( | ConsoleType | type | ) |
Create a new console channel object, connecting to the I/O stream.
type | Type of console for object |
virtual BOOL PConsoleChannel::Open | ( | ConsoleType | type | ) | [virtual] |
Open a serial channal. The channel is opened it on the specified port and with the specified attributes.
type | Type of console for object |
PString PConsoleChannel::GetName | ( | ) | const [virtual] |
BOOL PConsoleChannel::Close | ( | ) | [virtual] |
Close the channel, shutting down the link to the data source.
Reimplemented from PChannel.