23 #ifndef __SALOME_LAUNCHER_HXX__
24 #define __SALOME_LAUNCHER_HXX__
28 #include <SALOMEconfig.h>
29 #include CORBA_CLIENT_HEADER(SALOME_Launcher)
40 public POA_Engines::SalomeLauncher,
41 public PortableServer::RefCountServantBase
50 void launchJob (CORBA::Long job_id);
51 char * getJobState (CORBA::Long job_id);
52 char * getAssignedHostnames (CORBA::Long job_id);
53 void getJobResults(CORBA::Long job_id,
const char * directory);
54 CORBA::Boolean getJobDumpState(CORBA::Long job_id,
const char * directory);
55 CORBA::Boolean getJobWorkFile(CORBA::Long job_id,
const char * work_file,
const char * directory);
56 void stopJob (CORBA::Long job_id);
57 void removeJob (CORBA::Long job_id);
60 CORBA::Long createJobWithFile(
const char * xmlExecuteFile,
const char * clusterName);
68 virtual void addObserver(Engines::SalomeLauncherObserver_ptr observer);
69 virtual void removeObserver(Engines::SalomeLauncherObserver_ptr observer);
74 virtual void loadJobs(
const char* jobs_file);
75 virtual void saveJobs(
const char* jobs_file);
82 virtual void notifyObservers(
const std::string & event_name,
const std::string & event_data);
86 PortableServer::POA_var
_poa;
91 std::list<Engines::SalomeLauncherObserver_var>
_observers;