Version: 8.3.0
SALOME_ModuleCatalog_Acomponent_impl.hxx
Go to the documentation of this file.
1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007 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, or (at your option) any later version.
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 // SALOME ModuleCatalog : implementation of ModuleCatalog server which parsers xml description of modules
24 // File : SALOME_ModuleCatalog_Acomponent_impl.hxx
25 // Author : Estelle Deville
26 // Module : SALOME
27 // $Header$
28 //
29 #ifndef ACOMPONENT_IMPL_H
30 #define ACOMPONENT_IMPL_H
31 
32 #include "SALOME_ModuleCatalog.hxx"
33 
34 #include <SALOMEconfig.h>
35 
36 #include CORBA_SERVER_HEADER(SALOME_ModuleCatalog)
37 
38 #ifdef WIN32
39 #pragma warning(disable:4275) // Disable warning interface non dll
40 #pragma warning(disable:4290) // Warning Exception ...
41 #endif
42 
43 class MODULECATALOG_EXPORT SALOME_ModuleCatalog_AcomponentImpl: public POA_SALOME_ModuleCatalog::Acomponent
44 {
45 public:
48 
51 
53 
56  virtual SALOME_ModuleCatalog::ListOfInterfaces* GetInterfaceList() ;
57 
59 
64  GetInterface(const char* interfacename)
66 
68 
73  GetServiceList(const char* interfacename)
75 
76 
78 
85  GetService(const char* interfacename,
86  const char* servicename)
88 
90 
95  GetDefaultService(const char* interfacename)
97 
99 
103  virtual char* GetPathPrefix(const char* machinename)
105 
107 
110  virtual char* constraint() ;
111 
113 
116  virtual char* componentname();
117 
119 
122  virtual char* componentusername();
123 
125 
128  virtual CORBA::Boolean multistudy();
129 
131 
134  virtual SALOME_ModuleCatalog::ComponentType component_type() ;
135 
137 
140  virtual char* component_icone();
141 
143 
146  virtual SALOME_ModuleCatalog::ImplType implementation_type();
147 
149 
152  virtual char* implementation_name();
153 
154 private :
155 
157 
159 
165 
167 
172  const SALOME_ModuleCatalog::Service &S_in);
173 
175 
181 
183 
189 
190 };
191 
192 
193 #endif // ACOMPONENT_IMPL_H