Back to index

salome-paravis  6.5.0
PARAVIS_Gen.idl
Go to the documentation of this file.
00001 // Copyright (C) 2010-2012  CEA/DEN, EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 //  File   : PARAVIS_Gen.idl
00020 //  Author : Vitaly Smetannikov
00021 
00026 #ifndef __PARAVIS_GEN__
00027 #define __PARAVIS_GEN__
00028 
00029 #include "SALOME_Exception.idl"
00030 #include "SALOME_GenericObj.idl"
00031 #include "SALOME_Component.idl"
00032 #include "SALOMEDS.idl"
00033 #include "PARAVIS_Gen_Types.idl"
00034 
00038 module PARAVIS {
00039 
00040   interface vtkObject;
00041   interface vtkSMObject;
00042   interface vtkProcessModule;
00043   interface vtkPVPythonModule;
00044 
00048   interface PARAVIS_Base {
00049     boolean IsSame(in PARAVIS_Base theOther);
00050   };
00051     
00052 
00057   interface PARAVIS_Gen : Engines::EngineComponent, SALOMEDS::Driver
00058   {
00062     string GetIOR();
00063 
00068     void ImportFile(in string theFileName);
00069 
00070 
00071     void ExecuteScript(in string script);
00072 
00077     string GetTrace();
00078 
00083     void SaveTrace(in string theFileName);
00084 
00088     string_array GetClassesList();
00089 
00093     PARAVIS_Base CreateClass(in string theClassName);
00094 
00104     void GetConnectionParameters(out long theId, out string theDHost, out long theDPort, 
00105                                  out string theRHost, out long theRPort, out long theReversed);
00106 
00112     void ActivateModule();
00113 
00114 
00117     void SetCurrentStudy(in SALOMEDS::Study theStudy);
00118 
00121     SALOMEDS::Study GetCurrentStudy();
00122 
00123   };
00124 
00125 };
00126 
00127 #endif