feisty meow concerns codebase
2.140
|
Encapsulates information about OS processes. More...
#include <process_entry.h>
Public Member Functions | |
process_entry () | |
process_entry (const process_entry &to_copy) | |
~process_entry () | |
DEFINE_CLASS_NAME ("process_entry") | |
process_entry & | operator= (const process_entry &to_copy) |
const basis::astring & | path () const |
void | path (const basis::astring &new_path) |
basis::astring | text_form () const |
returns a descriptive string for the information here. More... | |
void | text_form (basis::base_string &fill) const |
base class requirement. More... | |
Public Member Functions inherited from basis::text_formable | |
virtual const char * | class_name () const =0 |
Returns the bare name of this class as a constant character pointer. More... | |
Public Attributes | |
basis::un_int | _process_id |
the OS identifier of this process. More... | |
basis::un_int | _references |
the number of references to (users of) this process. More... | |
basis::un_int | _threads |
the number of threads in use by this process. More... | |
basis::un_int | _parent_process_id |
the process id of the owning process. More... | |
basis::un_short | _module16 |
non-zero if this process is a 16-bit application. More... | |
Encapsulates information about OS processes.
Definition at line 27 of file process_entry.h.
processes::process_entry::process_entry | ( | ) |
Definition at line 26 of file process_entry.cpp.
processes::process_entry::process_entry | ( | const process_entry & | to_copy | ) |
Definition at line 35 of file process_entry.cpp.
References operator=().
processes::process_entry::~process_entry | ( | ) |
Definition at line 46 of file process_entry.cpp.
References basis::WHACK().
processes::process_entry::DEFINE_CLASS_NAME | ( | "process_entry" | ) |
process_entry & processes::process_entry::operator= | ( | const process_entry & | to_copy | ) |
Definition at line 56 of file process_entry.cpp.
References _module16, _parent_process_id, _process_id, _references, and _threads.
Referenced by process_entry().
const astring & processes::process_entry::path | ( | ) | const |
Definition at line 68 of file process_entry.cpp.
Referenced by text_form().
void processes::process_entry::path | ( | const basis::astring & | new_path | ) |
Definition at line 70 of file process_entry.cpp.
astring processes::process_entry::text_form | ( | ) | const |
returns a descriptive string for the information here.
Definition at line 73 of file process_entry.cpp.
References _module16, _parent_process_id, _process_id, _references, _threads, filesystem::filename::basename(), filesystem::filename::dirname(), path(), filesystem::filename::raw(), and basis::astring::s().
Referenced by text_form().
|
virtual |
base class requirement.
Implements basis::text_formable.
Definition at line 51 of file process_entry.cpp.
References text_form().
basis::un_short processes::process_entry::_module16 |
non-zero if this process is a 16-bit application.
Definition at line 34 of file process_entry.h.
Referenced by operator=(), and text_form().
basis::un_int processes::process_entry::_parent_process_id |
the process id of the owning process.
Definition at line 33 of file process_entry.h.
Referenced by operator=(), and text_form().
basis::un_int processes::process_entry::_process_id |
the OS identifier of this process.
Definition at line 30 of file process_entry.h.
Referenced by operator=(), and text_form().
basis::un_int processes::process_entry::_references |
the number of references to (users of) this process.
Definition at line 31 of file process_entry.h.
Referenced by operator=(), and text_form().
basis::un_int processes::process_entry::_threads |
the number of threads in use by this process.
Definition at line 32 of file process_entry.h.
Referenced by operator=(), and text_form().