Version: 9.15.0
SALOME_ModuleCatalog_Acomponent_impl.hxx
Go to the documentation of this file.
1 // Copyright (C) 2007-2025 CEA, EDF, 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);
65 
67 
72  GetServiceList(const char* interfacename);
73 
74 
76 
83  GetService(const char* interfacename,
84  const char* servicename);
85 
87 
92  GetDefaultService(const char* interfacename);
93 
95 
99  virtual char* GetPathPrefix(const char* machinename);
100 
102 
105  virtual char* constraint();
106 
108 
111  virtual char* componentname();
112 
114 
117  virtual char* componentusername();
118 
120 
123  virtual SALOME_ModuleCatalog::ComponentType component_type() ;
124 
126 
129  virtual char* component_icone();
130 
132 
135  virtual SALOME_ModuleCatalog::ImplType implementation_type();
136 
138 
141  virtual char* implementation_name();
142 
143 private :
144 
146 
148 
154 
156 
161  const SALOME_ModuleCatalog::Service &S_in);
162 
164 
170 
172 
178 
179 };
180 
181 
182 #endif // ACOMPONENT_IMPL_H
#define MODULECATALOG_EXPORT
Definition: SALOME_ModuleCatalog.hxx:37
Definition: SALOME_ModuleCatalog_Acomponent_impl.hxx:44
SALOME_ModuleCatalog::ComponentDef _Component
Definition: SALOME_ModuleCatalog_Acomponent_impl.hxx:145
SALOME_ModuleCatalog_AcomponentImpl(SALOME_ModuleCatalog::ComponentDef &C)
standard constructor
const char * duplicate(const char *const str)
This function can be changed by strdup() if strdup() is ANSI.
Definition: duplicate.cxx:42
ImplType
Component implementation type.
Definition: SALOME_ModuleCatalog.idl:156
ComponentType
This enumeration contains a current set of definitions of the components integrated into SALOME appli...
Definition: SALOME_ModuleCatalog.idl:42
sequence< string > ListOfServices
List of services.
Definition: SALOME_ModuleCatalog.idl:132
sequence< string > ListOfInterfaces
List of interface names.
Definition: SALOME_ModuleCatalog.idl:142
C
Definition: TestModuleCatalog.py:54
Description of a component.
Definition: SALOME_ModuleCatalog.idl:165
This struct contains fields defining each interface.
Definition: SALOME_ModuleCatalog.idl:135
This struct contains fields defining each service.
Definition: SALOME_ModuleCatalog.idl:120
struct to define datastream ports
Definition: SALOME_ModuleCatalog.idl:67
This struct contains fields defining the parameter of the service.
Definition: SALOME_ModuleCatalog.idl:53