ParaView
vtkPVCustomTestDriver.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCustomTestDriver.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
24 #ifndef vtkPVCustomTestDriver_h
25 #define vtkPVCustomTestDriver_h
26 
27 #include "vtkCPTestDriver.h"
28 
29 class vtkCPProcessor;
30 
31 class VTK_EXPORT vtkPVCustomTestDriver : public vtkCPTestDriver
32 {
33 public:
34  static vtkPVCustomTestDriver* New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
42  virtual int Run();
43 
48  virtual int Initialize(const char* fileName);
49 
53  virtual int Finalize();
54 
55 protected:
58 
59 private:
60  vtkPVCustomTestDriver(const vtkPVCustomTestDriver&) VTK_DELETE_FUNCTION;
61  void operator=(const vtkPVCustomTestDriver&) VTK_DELETE_FUNCTION;
62 
64 
67  vtkCPProcessor* Processor;
68 };
70 
71 #endif
A custom test driver code that uses ParaView and python.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int Run()
Run the test driver.
Class for creating a co-processor test driver.
There are 3 distinct phases for the operation of a co-processor.
static vtkCPTestDriver * New()