processes::process_entry Class Reference

Encapsulates information about OS processes. More...

#include <process_entry.h>

Inheritance diagram for processes::process_entry:
Inheritance graph
[legend]
Collaboration diagram for processes::process_entry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 process_entry ()
 process_entry (const process_entry &to_copy)
 ~process_entry ()
 DEFINE_CLASS_NAME ("process_entry")
process_entryoperator= (const process_entry &to_copy)
const basis::astringpath () const
void path (const basis::astring &new_path)
basis::astring text_form () const
 returns a descriptive string for the information here.
void text_form (basis::base_string &fill) const
 base class requirement.

Public Attributes

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

Detailed Description

Encapsulates information about OS processes.

Definition at line 27 of file process_entry.h.


Constructor & Destructor Documentation

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().


Member Function Documentation

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().

void processes::process_entry::path ( const basis::astring new_path  ) 

Definition at line 70 of file process_entry.cpp.

const astring & processes::process_entry::path (  )  const

Definition at line 68 of file process_entry.cpp.

Referenced by text_form().

void processes::process_entry::text_form ( basis::base_string fill  )  const [virtual]

base class requirement.

Implements basis::text_formable.

Definition at line 51 of file process_entry.cpp.

References text_form().

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().


Member Data Documentation

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().

the process id of the owning process.

Definition at line 33 of file process_entry.h.

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

the OS identifier of this process.

Definition at line 30 of file process_entry.h.

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

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

Definition at line 31 of file process_entry.h.

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

the number of threads in use by this process.

Definition at line 32 of file process_entry.h.

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


The documentation for this class was generated from the following files:
Generated on Sat Jan 28 04:25:50 2012 for hoople2 project by  doxygen 1.6.3