-// Copyright (C) 2009-2019 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2009-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
class LAUNCHER_EXPORT Job
{
- protected:
- virtual ~Job();
public:
Job();
- int getRCValue() const { return _cnt; }
- bool decrRef() const;
- void incrRef() const;
+ virtual ~Job();
+
// Launcher managing parameters
// State of a Job: CREATED, IN_PROCESS, QUEUED, RUNNING, PAUSED, FINISHED, ERROR
void setState(const std::string & state);