Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Task #539224 » classes.h

Александр Козлов, 2016-04-02 04:45 AM

 
#include <sstream>
#include <vector>
class Process
{
std::string name;
int inSleep;
int inWork;
double popularity;
std::vector<int> device;
std::vector<int> devSize;

public:
Process(){}
Process(const Process& other){}
~Process(){}

int Getter_Setter(int income){}//???? ????????? ??????? ??? ????

};

class Processor
{
int speed;
int switching;

public:
Processor(){}
Processor(const Processor& other){}
~Processor(){}
};

class Algorithm
{
int type;//? ????? ???????, ??? ????? ????? ??????
};

class Timer
{
public:
static const Timer& Instance()
{
static Timer singleton;
return singleton;
}
private:
Timer(){}
};

class VirtualMachine
{
Processor processor;
Algorithm algorithm;
std::vector<Process> loaded;
int running;

public:
void Switch(int next){}
void Start(){}
void Shutdown(){}
};
(2-2/6)