VkPipe(3x)

VkPipe - Object-oriented interface to Unix pipes

As shipped in IRIX 6.5.5. Last changed in IRIX 6.5.5.

NAME
     VkPipe - Object-oriented interface to Unix pipes

INHERITS FROM
     VkCallbackObject

HEADER FILE
     #include <Vk/VkPipe.h>

PUBLIC PROTOCOL SUMMARY
   Constructor/Destructor
           VkPipe(int& fd);
           void ~VkPipe(void);


   Access Functions
           int operator[](End whichEnd);


PROTECTED PROTOCOL SUMMARY
   Protected Data Members
           int[2] pipefd;
           VkInput* _input;


CLASS DESCRIPTION
          The VkInput class is an object-oriented interface to Unix pipes.  It
          sets up a pipe, using the VkInput class to provide callbacks to the
          application when input is available.



FUNCTION DESCRIPTIONS
   VkPipe()
           VkPipe(int& fd);
           void ~VkPipe(void);


          Create a non-blocking pipe, setting fd to the write end.  The read
          end is attached to the VkInput object, and the VkPipe::inputCallback
          callback is called when input is available.

   operator[]()
          int operator[](End whichEnd);


          Returns one end of the pipe.  The argument should be READ or WRITE.

DATA MEMBER DESCRIPTIONS
   int[2] pipefd;
          int[2] pipefd;


          Storage of the pipe ends.

   _input;
          VkInput *_input;


          The VkInput object used for the input callback.

INHERITED MEMBER FUNCTIONS
   Inherited from VkCallbackObject
          callCallbacks(), addCallback(), removeCallback(),
          removeAllCallbacks()


VIEWKIT 2.1 CHANGES
   Constructor
           VkPipe(int& fd, VkScreen *screen = NULL);


          this new API is source code compatible with ViewKit 1.5.3 while
          adding a VkScreen option for applications which need to support
          multi-screen connections...

CLASSES USED BY THIS CLASS
     VkApp, VkDialogManager

KNOWN CLASSES THAT USE THIS CLASS
     VkSubProcessRep

SEE ALSO
     VkApp, VkDialogManager, VkSubProcess, VkInput
     ViewKit Programmer's Guide
     The X Window System, DEC Press, Bob Sheifler and Jim Gettys
     The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
     The OSF/Motif Programmers Reference, Prentice Hall, OSF