class fifostream
|
This class provides a few alterations to the standard fstream class
for dealing with fifo devices. More... |
Full name | ost::fifostream |
Definition | #include <file.h> |
Inherits | std::fstream (unknown) [public ], std::fstream (unknown) [public ] |
List of all Methods |
|
|
Public Methods
This class provides a few alterations to the standard fstream class
for dealing with fifo devices. In particular, a fifo is assumed to
be created via mkfifo and is destroyed when closed. The fifo is a
r/w streamable object. fifo streams are presumed unique to posix
systems and are generally not portable classes.
Create fifo "object", but do not create or open a fifo
stream.
fifostream (const char *fname, long access = (long)FILE_ATTR_GROUP)
| fifostream |
Create and open a fifo stream object.
Parameters:
~fifostream ()
| ~fifostream |
[virtual]
close any open fifo and remove.
void open (const char *fname, long access = (long)FILE_ATTR_GROUP)
| open |
open a new fifo stream. Kill the currently open one if
present.
Parameters:
close the fifo stream and remove it.
Create fifo "object", but do not create or open a fifo
stream.
fifostream (const char *fname, long access = (long)FILE_ATTR_GROUP)
| fifostream |
Create and open a fifo stream object.
Parameters:
~fifostream ()
| ~fifostream |
[virtual]
close any open fifo and remove.
void open (const char *fname, long access = (long)FILE_ATTR_GROUP)
| open |
open a new fifo stream. Kill the currently open one if
present.
Parameters:
close the fifo stream and remove it.
Generated by: dyfet on home on Fri Jan 4 18:52:16 2002, using kdoc 2.0a53. |