VTK
dox
Common
Core
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
=========================================================================*/
28
#ifndef vtkWin32ProcessOutputWindow_h
29
#define vtkWin32ProcessOutputWindow_h
30
31
#include "vtkCommonCoreModule.h"
// For export macro
32
#include "
vtkOutputWindow.h
"
33
34
class
VTKCOMMONCORE_EXPORT
vtkWin32ProcessOutputWindow
:
public
vtkOutputWindow
35
{
36
public
:
37
vtkTypeMacro(
vtkWin32ProcessOutputWindow
,
vtkOutputWindow
);
38
static
vtkWin32ProcessOutputWindow
*
New
();
39
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
40
44
virtual
void
DisplayText
(
const
char
*);
45
46
protected
:
47
vtkWin32ProcessOutputWindow
();
48
~
vtkWin32ProcessOutputWindow
();
49
50
int
Initialize();
51
void
Write(
const
char
*
data
,
size_t
length
);
52
53
// The write end of the pipe to the child process.
54
vtkWindowsHANDLE
OutputPipe
;
55
56
// Whether the pipe has been broken.
57
int
Broken
;
58
59
// Count the number of times a new child has been initialized.
60
unsigned
int
Count
;
61
private
:
62
vtkWin32ProcessOutputWindow
(
const
vtkWin32ProcessOutputWindow
&) VTK_DELETE_FUNCTION;
63
void
operator=(
const
vtkWin32ProcessOutputWindow
&) VTK_DELETE_FUNCTION;
64
};
65
66
#endif
vtkWin32ProcessOutputWindow::Count
unsigned int Count
Definition:
vtkWin32ProcessOutputWindow.h:60
vtkX3D::data
Definition:
vtkX3D.h:315
vtkWin32ProcessOutputWindow::OutputPipe
vtkWindowsHANDLE OutputPipe
Definition:
vtkWin32ProcessOutputWindow.h:54
vtkX3D::length
Definition:
vtkX3D.h:393
vtkOutputWindow.h
vtkOutputWindow::New
static vtkOutputWindow * New()
This is a singleton pattern New.
vtkOutputWindow
base class for writing debug output to a console
Definition:
vtkOutputWindow.h:46
vtkOutputWindow::DisplayText
virtual void DisplayText(const char *)
Display the text.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkWin32ProcessOutputWindow
Win32-specific output window class.
Definition:
vtkWin32ProcessOutputWindow.h:34
vtkWin32ProcessOutputWindow::Broken
int Broken
Definition:
vtkWin32ProcessOutputWindow.h:57
vtkOutputWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
Generated by
1.8.16