- Renamed Process to StaticProcess

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@627 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-06-13 14:20:05 +00:00
parent 1f7972c308
commit dd6085a0a6
7 changed files with 65 additions and 65 deletions

View file

@ -1,4 +1,4 @@
// src/backend/process.cc - Copyright 2005, 2006, University
// src/backend/static_process.cc - Copyright 2005, 2006, University
// of Padova, dept. of Pure and Applied
// Mathematics
//
@ -18,22 +18,22 @@
// along with SGPEMv2; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "process.hh"
#include "static_process.hh"
using namespace sgpem;
Process::Process(const Glib::ustring& name, const unsigned int& arrival, const unsigned int& total, const int& priority)
StaticProcess::StaticProcess(const Glib::ustring& name, const unsigned int& arrival, const unsigned int& total, const int& priority)
: StaticSchedulable(name, arrival, total, priority)
{
}
Process::~Process()
StaticProcess::~StaticProcess()
{
}
Glib::ustring
Process::get_type() const
StaticProcess::get_type() const
{
return "Process";
return "StaticProcess";
}

View file

@ -1,4 +1,4 @@
// src/backend/process.hh - Copyright 2005, 2006, University
// src/backend/static_process.hh - Copyright 2005, 2006, University
// of Padova, dept. of Pure and Applied
// Mathematics
//
@ -18,8 +18,8 @@
// along with SGPEMv2; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifndef PROCESS_HH
#define PROCESS_HH 1
#ifndef STATIC_PROCESS_HH
#define STATIC_PROCESS_HH 1
#include "config.h"
#include "gettext.h"
@ -29,19 +29,19 @@
namespace sgpem
{
class Process;
class StaticProcess;
/** \brief Represents a program in execution.
It IS a Schedulable object.
*/
class SG_DLLEXPORT Process : public StaticSchedulable
class SG_DLLEXPORT StaticProcess : public StaticSchedulable
{
public:
/** \brief Creates a new object with the given parameters. */
Process(const Glib::ustring& name, const unsigned int& arrival, const unsigned int& total, const int& priority);
StaticProcess(const Glib::ustring& name, const unsigned int& arrival, const unsigned int& total, const int& priority);
/** \brief Destructor. */
~Process();
~StaticProcess();
/** \brief Returns a string describing the type of the object. */
Glib::ustring get_type() const;