Process Class Reference

#include <process.h>

List of all members.

Public Member Functions

 Process ()
 ~Process ()
 Process (string pid, string name, string cpu, string owner)
string getName ()
void setName (string name)
string getPid ()
void setPid (string pid)
string getCpu ()
void setCpu (string cpu)
string getOwner ()
void setOwner (string owner)
bool operator== (Process t)

Private Attributes

string pid
string name
string cpu
string owner


Detailed Description

Sets current instance from retrieved values of
Parameters:
value 


Constructor & Destructor Documentation

Process::Process (  ) 

Process::~Process (  ) 

Process::Process ( string  pid,
string  name,
string  cpu,
string  owner 
)

Parameterized constructor that initializes the data members with the values passed to it.


Member Function Documentation

string Process::getCpu (  ) 

string Process::getName (  ) 

string Process::getOwner (  ) 

string Process::getPid (  ) 

bool Process::operator== ( Process  t  ) 

Operator(==) overloaded

void Process::setCpu ( string  cpu  ) 

void Process::setName ( string  name  ) 

void Process::setOwner ( string  owner  ) 

void Process::setPid ( string  pid  ) 


Member Data Documentation

string Process::cpu [private]

string Process::name [private]

string Process::owner [private]

string Process::pid [private]


The documentation for this class was generated from the following files:
Generated on Sat Apr 17 16:28:54 2010 for ProcessViewer by  doxygen 1.4.7