Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Servers/ServerManager/vtkSMApplication.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMApplication.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00022 #ifndef __vtkSMApplication_h
00023 #define __vtkSMApplication_h
00024 
00025 #include "vtkSMObject.h"
00026 
00027 //BTX
00028 struct vtkSMApplicationInternals;
00029 //ETX
00030 
00031 class VTK_EXPORT vtkSMApplication : public vtkSMObject
00032 {
00033 public:
00034   static vtkSMApplication* New();
00035   vtkTypeRevisionMacro(vtkSMApplication, vtkSMObject);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00042   void Initialize();
00043 
00046   void Finalize();
00047 
00048   int ParseConfigurationFile(const char* fname, const char* dir);
00049 
00050   int ParseConfiguration(const char* configuration);
00051 
00052   void AddConfigurationFile(const char* fname, const char* dir);
00053 
00054   unsigned int GetNumberOfConfigurationFiles();
00055 
00057   void GetConfigurationFile(
00058     unsigned int idx, const char*& fname, const char*& dir);
00060 
00061   void ParseConfigurationFiles();
00062 
00063 protected:
00064   vtkSMApplication();
00065   ~vtkSMApplication();
00066 
00067   virtual void SaveState(const char*, ostream*, vtkIndent) {};
00068 
00069   vtkSMApplicationInternals* Internals;
00070 private:
00071   vtkSMApplication(const vtkSMApplication&); // Not implemented
00072   void operator=(const vtkSMApplication&); // Not implemented
00073 };
00074 
00075 #endif

Generated on Tue May 30 12:31:47 2006 for ParaView by doxygen 1.3.5