Salome HOME
Updated copyright comment
[modules/yacs.git] / src / evalyfx / YACSEvalSessionInternal.hxx
1 // Copyright (C) 2012-2024  CEA, EDF
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 // Author : Anthony Geay (EDF R&D)
20
21 #ifndef __YACSEVALSESSIONINTERNAL_HXX__
22 #define __YACSEVALSESSIONINTERNAL_HXX__
23
24 #include "YACSEvalSession.hxx"
25
26 #include "SALOMEconfig.h"
27 #include CORBA_CLIENT_HEADER(SALOME_Launcher)
28 #include "omniORB4/CORBA.h"
29
30 #include <string>
31
32 class YACSEvalSession::YACSEvalSessionInternal
33 {
34 public:
35   YACSEvalSessionInternal();
36   CORBA::Object_var string_to_object(const std::string& ior) { return _orb->string_to_object(ior.c_str()); }
37   Engines::SalomeLauncher_var goFetchingSalomeLauncherInNS();
38   Engines::SalomeLauncher_var getNotNullSL();
39 private:
40   void checkSalomeLauncher();
41 private:
42   CORBA::ORB_var _orb;
43   Engines::SalomeLauncher_var _sl;
44 };
45
46 #endif