process_entry Class Reference

Encapsulates information about OS processes. More...

#include <process_entry.h>

Collaboration diagram for process_entry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 process_entry ()
 process_entry (const process_entry &to_copy)
 ~process_entry ()
process_entryoperator= (const process_entry &to_copy)
const istringpath () const
void path (const istring &new_path)
istring text_form ()
 returns a descriptive string for the information here.

Public Attributes

u_int _process_id
 the OS identifier of this process.
u_int _references
 the number of references to (users of) this process.
u_int _threads
 the number of threads in use by this process.
u_int _parent_process_id
 the process id of the owning process.
u_short _module16
 non-zero if this process is a 16-bit application.

Detailed Description

Encapsulates information about OS processes.

NOTE: this header is for use only by CPP files; it should not be included in other headers.

Definition at line 31 of file process_entry.h.


Constructor & Destructor Documentation

process_entry::process_entry (  ) 

Definition at line 24 of file process_entry.cpp.

process_entry::process_entry ( const process_entry to_copy  ) 

Definition at line 33 of file process_entry.cpp.

References operator=().

process_entry::~process_entry (  ) 

Definition at line 44 of file process_entry.cpp.

References WHACK().


Member Function Documentation

process_entry & process_entry::operator= ( const process_entry to_copy  ) 

Definition at line 49 of file process_entry.cpp.

References _module16, _parent_process_id, _process_id, _process_path, _references, and _threads.

Referenced by process_entry().

const istring & process_entry::path (  )  const

Definition at line 61 of file process_entry.cpp.

Referenced by text_form().

void process_entry::path ( const istring new_path  ) 

Definition at line 63 of file process_entry.cpp.

istring process_entry::text_form (  ) 

returns a descriptive string for the information here.

Definition at line 66 of file process_entry.cpp.

References _module16, _parent_process_id, _process_id, _references, _threads, filename::basename(), filename::dirname(), path(), filename::raw(), and istring::s().


Member Data Documentation

u_int process_entry::_process_id

the OS identifier of this process.

Definition at line 34 of file process_entry.h.

Referenced by operator=(), and text_form().

u_int process_entry::_references

the number of references to (users of) this process.

Definition at line 35 of file process_entry.h.

Referenced by operator=(), and text_form().

u_int process_entry::_threads

the number of threads in use by this process.

Definition at line 36 of file process_entry.h.

Referenced by operator=(), and text_form().

u_int process_entry::_parent_process_id

the process id of the owning process.

Definition at line 37 of file process_entry.h.

Referenced by operator=(), and text_form().

u_short process_entry::_module16

non-zero if this process is a 16-bit application.

Definition at line 38 of file process_entry.h.

Referenced by operator=(), and text_form().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 04:30:55 2008 for HOOPLE Libraries by  doxygen 1.5.1