VkPipe(3x) VkPipe(3x)
VkPipe - Object-oriented interface to Unix pipes
VkCallbackObject
#include <Vk/VkPipe.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkPipe(int& fd);
void ~VkPipe(void);
Access Functions [Toc] [Back]
int operator[](End whichEnd);
PROTECTED PROTOCOL SUMMARY [Toc] [Back] Protected Data Members
int[2] pipefd;
VkInput* _input;
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 [Toc] [Back] 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 [Toc] [Back] int[2] pipefd;
Page 1
VkPipe(3x) VkPipe(3x)
int[2] pipefd;
Storage of the pipe ends.
_input;
VkInput *_input;
The VkInput object used for the input callback.
INHERITED MEMBER FUNCTIONS [Toc] [Back] 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 [Toc] [Back] VkSubProcessRep
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
PPPPaaaaggggeeee 2222 [ Back ]
|