class fifostream

This class provides a few alterations to the standard fstream class for dealing with fifo devices. More...

Full nameost::fifostream
Definition#include <file.h>
Inheritsstd::fstream (unknown) [public ], std::fstream (unknown) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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.

 fifostream ()

fifostream

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:
nameof fifo.

 ~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:
nameof fifo.

void  close (void)

close

close the fifo stream and remove it.

 fifostream ()

fifostream

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:
nameof fifo.

 ~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:
nameof fifo.

void  close (void)

close

close the fifo stream and remove it.


Generated by: dyfet on home on Thu Jan 24 11:06:29 2002, using kdoc 2.0a53.