class Link

holds all info relevant to one link.

Public Methods

void Open (const char* name, const char* param)
open a link to another program named name, passing a param
void Close ()
Close the link to a program that has terminated. Use Kill
int Read (char* s)
read from the program started with Open. Returns a 0 if
int InputWaiting ()
Returns the number of bytes waiting in the input buffer. If
void WriteChar (char c)
write a char, without a newline, to the program.
void Write (const char* s)
write a string to the program, with a newline.
void Kill ()
kill the program and close the link. If the program has terminated

Documentation

holds all info relevant to one link.
void Open(const char* name, const char* param)
open a link to another program named name, passing a param

void Close()
Close the link to a program that has terminated. Use Kill

int Read(char* s)
read from the program started with Open. Returns a 0 if

int InputWaiting()
Returns the number of bytes waiting in the input buffer. If

void WriteChar(char c)
write a char, without a newline, to the program.

void Write(const char* s)
write a string to the program, with a newline.

void Kill()
kill the program and close the link. If the program has terminated


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de