30 : pid(0), name(
""), args(
""), s5mx(false) {
41 const char *
const _args,
bool _s5mx) {
68 tmp <<
name <<
".$" << setw(2) << setfill(
'0') <<
pid <<
'\0';
70 tmp <<
name <<
".$" <<
pid <<
'\0';
71 return tmp.str().c_str();
90 ostream::fmtflags old = o.flags();
92 o << dec << setw(5) << setfill(
' ') << p.
pid <<
" " << setw(12)
93 << setfill(
' ') << setiosflags(ios::left) << p.
name.c_str()
94 << resetiosflags(ios::left) <<
" " << p.
args;
A class, describing a Process on the Psion.
const char * getName()
Retrieve the file name of a process.
void setArgs(std::string _args)
PsiProcess()
Default constructor.
const char * getProcId()
Retrieve the file name and PID of a process.
PsiProcess & operator=(const PsiProcess &p)
Assignment operator Mainly used by STL container classes.
int getPID()
Retrieves the PID of a process.
const char * getArgs()
Retrieve the file name of a process.
ostream & operator<<(ostream &o, const PsiProcess &p)