Salome HOME
53205294510da30cef1f4cb89124a7f303bb39b4
[modules/filter.git] / src / FILTER / Filter_Gen_i.hxx
1 //  FILTER FILTER : implemetation of FILTER idl descriptions
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //
23 //
24 //  File   : Filter_Gen_i.hxx
25 //  Author : Bernard SECHER, CEA
26 //  Module : FILTER
27 //  $Header$
28
29 #ifndef _FILTER_GEN_I_HXX_
30 #define _FILTER_GEN_I_HXX_
31
32 #include <SALOMEconfig.h>
33 #include <map>
34 #include CORBA_SERVER_HEADER(FILTER_Gen)
35 #include CORBA_SERVER_HEADER(SALOME_ModuleCatalog)
36
37 #include "SALOME_Component_i.hxx"
38 #include "SALOME_NamingService.hxx"
39
40 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
41
42 class Filter_Gen_i:
43   public POA_SALOME_FILTER::FILTER_Gen,
44   public Engines_Component_i 
45 {
46 private:
47
48 public:
49   Filter_Gen_i();
50   Filter_Gen_i(CORBA::ORB_ptr orb,
51             PortableServer::POA_ptr poa,
52             PortableServer::ObjectId * contId, 
53             const char *instanceName, 
54             const char *interfaceName);
55   virtual ~Filter_Gen_i();
56
57
58 private :
59   static Filter_Gen_i*  _FILTERGen;    // Point to last created instance of the class
60
61   private:
62   bool   _duringLoad;
63   SALOME_NamingService *_NS;
64 };
65
66 #endif