VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkWin32ProcessOutputWindow.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkWin32ProcessOutputWindow.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
#ifndef __vtkWin32ProcessOutputWindow_h
28
#define __vtkWin32ProcessOutputWindow_h
29
30
#include "
vtkOutputWindow.h
"
31
32
class
VTK_COMMON_EXPORT
vtkWin32ProcessOutputWindow
:
public
vtkOutputWindow
33
{
34
public
:
35
vtkTypeMacro(
vtkWin32ProcessOutputWindow
,
vtkOutputWindow
);
36
static
vtkWin32ProcessOutputWindow
*
New
();
37
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
virtual
void
DisplayText
(
const
char
*);
41
42
protected
:
43
vtkWin32ProcessOutputWindow
();
44
~
vtkWin32ProcessOutputWindow
();
45
46
int
Initialize();
47
void
Write(
const
char
*
data
,
size_t
length
);
48
49
// The write end of the pipe to the child process.
50
vtkWindowsHANDLE
OutputPipe
;
51
52
// Whether the pipe has been broken.
53
int
Broken
;
54
55
// Count the number of times a new child has been initialized.
56
unsigned
int
Count
;
57
private
:
58
vtkWin32ProcessOutputWindow
(
const
vtkWin32ProcessOutputWindow
&);
// Not implemented.
59
void
operator=(
const
vtkWin32ProcessOutputWindow
&);
// Not implemented.
60
};
61
62
#endif
Generated on Thu Mar 13 2014 08:09:50 for VTK by
1.8.1.2