Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::ProcessIORedirectionPeer Class Reference

This defines the interface for a redirecting process input/ouput. More...

#include <vcf/FoundationKit/ProcessIORedirectionPeer.h>

Inheritance diagram for VCF::ProcessIORedirectionPeer:

VCF::ProcessPeer VCF::LinuxProcessIORedirector VCF::Win32ProcessIORedirector List of all members.

Public Member Functions

virtual ~ProcessIORedirectionPeer ()
virtual void setProcess (ProcessWithRedirectedIO *process)=0
 sets the peer's ProcessWithRedirectedIO process instance.

Detailed Description

This defines the interface for a redirecting process input/ouput.

At this time only output redirection is supported. In other words the process is created such that the normal output to stdout is captured and an event is fired whenever there is output data ready to be consumed, (i.e. an "OutputReady" event so to speak).


Constructor & Destructor Documentation

virtual VCF::ProcessIORedirectionPeer::~ProcessIORedirectionPeer  )  [inline, virtual]
 


Member Function Documentation

virtual void VCF::ProcessIORedirectionPeer::setProcess ProcessWithRedirectedIO process  )  [pure virtual]
 

sets the peer's ProcessWithRedirectedIO process instance.

When an OutputReady event occurs, the ProcessWithRedirectedIO instance is what will be used as the source of the event, not the peer itself.

Implemented in VCF::LinuxProcessIORedirector, and VCF::Win32ProcessIORedirector.


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information