00001 00005 #ifndef PROCESS_H 00006 #define PROCESS_H 00007 00008 #include<iostream> 00009 #include<string> 00010 00011 using namespace std; 00012 00013 class Process 00014 { 00015 string pid; 00016 string name; 00017 string cpu; 00018 string owner; 00019 00020 public: 00021 Process(); 00022 ~Process(); 00023 Process(string pid, string name, string cpu, string owner); 00024 00025 string getName(); 00026 void setName(string name); 00027 00028 string getPid(); 00029 void setPid(string pid); 00030 00031 string getCpu(); 00032 void setCpu(string cpu); 00033 00034 string getOwner(); 00035 void setOwner(string owner); 00036 00037 bool operator ==(Process t); 00038 }; 00039 #endif // PROCESS_H