vtkWin32ProcessOutputWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00037 #ifndef __vtkWin32ProcessOutputWindow_h
00038 #define __vtkWin32ProcessOutputWindow_h
00039
00040 #include "vtkOutputWindow.h"
00041
00042 class VTK_COMMON_EXPORT vtkWin32ProcessOutputWindow : public vtkOutputWindow
00043 {
00044 public:
00045 vtkTypeRevisionMacro(vtkWin32ProcessOutputWindow,vtkOutputWindow);
00046 static vtkWin32ProcessOutputWindow* New();
00047 virtual void PrintSelf(ostream& os, vtkIndent indent);
00048
00050 virtual void DisplayText(const char*);
00051
00052 protected:
00053 vtkWin32ProcessOutputWindow();
00054 ~vtkWin32ProcessOutputWindow();
00055
00056 int Initialize();
00057 void Write(const char* data, int length);
00058
00059
00060 HANDLE OutputPipe;
00061
00062
00063 int Broken;
00064
00065
00066 unsigned int Count;
00067 private:
00068 vtkWin32ProcessOutputWindow(const vtkWin32ProcessOutputWindow&);
00069 void operator=(const vtkWin32ProcessOutputWindow&);
00070 };
00071
00072 #endif