- Rename Policy to CPUPolicy where appropriate

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@811 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-08-02 21:57:36 +00:00
parent 5b577c5979
commit 43b817aaed
31 changed files with 222 additions and 225 deletions

View file

@ -1,6 +1,6 @@
%module sgpem
%{
#include "policy.hh"
#include "cpu_policy.hh"
#include "policy_parameters.hh"
#include "process.hh"
#include "ready_queue.hh"
@ -59,9 +59,9 @@ namespace std
namespace sgpem {
class Policy {
class CPUPolicy {
public:
virtual ~Policy() = 0;
virtual ~CPUPolicy() = 0;
sgpem::PolicyParameters& get_parameters();
};
@ -218,7 +218,7 @@ namespace sgpem {
// ---------------------------------------------
class Scheduler {
public:
sgpem::Policy* get_policy();
sgpem::CPUPolicy* get_policy();
static sgpem::Scheduler& get_instance();
sgpem::ReadyQueue* get_ready_queue();
private: