|
plptools
|
A class, describing a Process on the Psion. More...
#include <psiprocess.h>
Public Member Functions | |
| PsiProcess () | |
| Default constructor. More... | |
| PsiProcess (const PsiProcess &p) | |
| A copy constructor. More... | |
| PsiProcess (const int, const char *const, const char *const, bool) | |
| Initializing Constructor. More... | |
| ~PsiProcess () | |
| Default destructor. More... | |
| int | getPID () |
| Retrieves the PID of a process. More... | |
| const char * | getName () |
| Retrieve the file name of a process. More... | |
| const char * | getArgs () |
| Retrieve the file name of a process. More... | |
| const char * | getProcId () |
| Retrieve the file name and PID of a process. More... | |
| PsiProcess & | operator= (const PsiProcess &p) |
| Assignment operator Mainly used by STL container classes. More... | |
Private Member Functions | |
| void | setArgs (std::string _args) |
Private Attributes | |
| int | pid |
| std::string | name |
| std::string | args |
| bool | s5mx |
Friends | |
| class | rpcs |
| std::ostream & | operator<< (std::ostream &o, const PsiProcess &p) |
| Prints the object contents. More... | |
A class, describing a Process on the Psion.
Objects of this type are used by rpcs::queryPrograms for returning the currently running processes.
Definition at line 35 of file psiprocess.h.
| PsiProcess::PsiProcess | ( | ) |
Default constructor.
Definition at line 29 of file psiprocess.cc.
| PsiProcess::PsiProcess | ( | const PsiProcess & | p | ) |
A copy constructor.
Mainly used by STL container classes.
| p | The object to be used as initializer. |
Definition at line 33 of file psiprocess.cc.
| PsiProcess::PsiProcess | ( | const int | _pid, |
| const char * const | _name, | ||
| const char * const | _args, | ||
| bool | _s5mx | ||
| ) |
Initializing Constructor.
Definition at line 40 of file psiprocess.cc.
|
inline |
Default destructor.
Definition at line 59 of file psiprocess.h.
| const char * PsiProcess::getArgs | ( | ) |
Retrieve the file name of a process.
Definition at line 58 of file psiprocess.cc.
| const char * PsiProcess::getName | ( | ) |
Retrieve the file name of a process.
Definition at line 53 of file psiprocess.cc.
| int PsiProcess::getPID | ( | ) |
Retrieves the PID of a process.
Definition at line 48 of file psiprocess.cc.
| const char * PsiProcess::getProcId | ( | ) |
Retrieve the file name and PID of a process.
Definition at line 63 of file psiprocess.cc.
| PsiProcess & PsiProcess::operator= | ( | const PsiProcess & | p | ) |
Assignment operator Mainly used by STL container classes.
| p | The new value to assign. |
Definition at line 79 of file psiprocess.cc.
|
private |
Definition at line 74 of file psiprocess.cc.
|
friend |
Prints the object contents.
The output is in human readable similar to the output of a "ls" command.
Definition at line 88 of file psiprocess.cc.
|
friend |
Definition at line 108 of file psiprocess.h.
|
private |
Definition at line 114 of file psiprocess.h.
|
private |
Definition at line 113 of file psiprocess.h.
|
private |
Definition at line 112 of file psiprocess.h.
|
private |
Definition at line 115 of file psiprocess.h.