]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Launcher::Job : All subclasses have now protected or private destructors to avoid...
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 21 Jan 2019 10:29:30 +0000 (11:29 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 21 Jan 2019 10:29:30 +0000 (11:29 +0100)
src/Launcher/Launcher_Job_Command.hxx
src/Launcher/Launcher_Job_CommandSALOME.hxx
src/Launcher/Launcher_Job_PythonSALOME.hxx
src/Launcher/Launcher_Job_SALOME.hxx
src/Launcher/Launcher_Job_YACSFile.hxx

index d95b01b5d0c38b3b7a5de66cc483ad1def719aa1..75f91c5f993a72f508bd1ba91f469c50659ae759 100644 (file)
@@ -33,9 +33,10 @@ namespace Launcher
 {
   class LAUNCHER_EXPORT Job_Command : virtual public Launcher::Job
   {
+    protected:
+      virtual ~Job_Command();
     public:
       Job_Command();
-      virtual ~Job_Command();
 
       virtual void update_job();
 
index dd3884bcf275d0d9bb51158144301ccfd6707b83..e3118d04f06d2d1ac6aa80cd117e543f53210750 100644 (file)
@@ -33,9 +33,10 @@ namespace Launcher
 {
   class LAUNCHER_EXPORT Job_CommandSALOME : virtual public Launcher::Job_Command
   {
+    private:
+      virtual ~Job_CommandSALOME();
     public:
       Job_CommandSALOME();
-      virtual ~Job_CommandSALOME();
       static const char TYPE_NAME[];
 
 #ifdef WITH_LIBBATCH
index 876f775db6b0f1f3173cea1953c7f7065aca4343..6f27a791cfb28b3dca17847dd7b80016c132efc0 100644 (file)
@@ -28,9 +28,10 @@ namespace Launcher
 {
   class LAUNCHER_EXPORT Job_PythonSALOME : virtual public Launcher::Job_SALOME
   {
+    private:
+      virtual ~Job_PythonSALOME();
     public:
       Job_PythonSALOME();
-      virtual ~Job_PythonSALOME();
 
       virtual void setJobFile(const std::string & job_file);
       virtual void addJobTypeSpecificScript(std::ofstream & launch_script_stream);
index 4e2a2dbd34d780daa59ddeffa5e8c79fb913b0a4..16a9fe4da7e7bf17cdf4a69632c78923eb35191b 100644 (file)
@@ -33,9 +33,10 @@ namespace Launcher
 {
   class LAUNCHER_EXPORT Job_SALOME : virtual public Launcher::Job
   {
+    protected:
+      virtual ~Job_SALOME();
     public:
       Job_SALOME();
-      virtual ~Job_SALOME();
 
       virtual void setResourceDefinition(const ParserResourcesType & resource_definition);
       virtual void update_job();
index 6572312442618551f21685a0288155ff3f2860fd..e37499afdf58132f9755527b798ee8ae853106c2 100644 (file)
@@ -28,9 +28,10 @@ namespace Launcher
 {
   class LAUNCHER_EXPORT Job_YACSFile : virtual public Launcher::Job_SALOME
   {
+    private:
+      virtual ~Job_YACSFile();
     public:
       Job_YACSFile();
-      virtual ~Job_YACSFile();
 
       virtual void setJobFile(const std::string & job_file);
       virtual void addJobTypeSpecificScript(std::ofstream & launch_script_stream);