*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Vk/VkPipe (3)              
Title
Content
Arch
Section
 

Contents


VkPipe(3x)							    VkPipe(3x)


NAME    [Toc]    [Back]

     VkPipe - Object-oriented interface	to Unix	pipes

INHERITS FROM    [Toc]    [Back]

     VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #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;

CLASS DESCRIPTION    [Toc]    [Back]

	  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

SEE ALSO    [Toc]    [Back]

      
      
     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 ]
 Similar pages
Name OS Title
VkSubProcessRep IRIX Object-oriented interface to a running subprocess
VkProgram IRIX Object-oriented interface to subprogram execution
VkMsgService IRIX ViewKit object-oriented interface to the ToolTalk message service
IO::Pipe IRIX supply object methods for pipes
incrTcl IRIX Object-oriented extensions to Tcl
perlboot OpenBSD Beginner's Object-Oriented Tutorial
perltoot OpenBSD Tom's object-oriented tutorial for perl
perltoot IRIX Tom's object-oriented tutorial for perl
python2.1 Linux an interpreted, interactive, object-oriented programming language
elm HP-UX process electronic mail through a screen-oriented interface
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service