process_entry.h

Go to the documentation of this file.
00001 #ifndef PROCESS_ENTRY_CLASS
00002 #define PROCESS_ENTRY_CLASS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : process_entry                                                     *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 2000-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00018 #include "dll_processes.h"
00019 
00020 #include <basis/array.h>
00021 
00022 //hmmm: note that not all of these members are valid yet.  it depends on
00023 //      the platform as to what fields are retrieved.
00024 
00026 
00031 class PROCESSES_CLASS_STYLE process_entry
00032 {
00033 public:
00034   u_int _process_id;  
00035   u_int _references;  
00036   u_int _threads;  
00037   u_int _parent_process_id;  
00038   u_short _module16;  
00039 
00040   process_entry();
00041   process_entry(const process_entry &to_copy);
00042   ~process_entry();
00043 
00044   process_entry &operator =(const process_entry &to_copy);
00045 
00046   const istring &path() const;
00047   void path(const istring &new_path);
00048 
00049   istring text_form();
00051 
00052 private:
00053   istring *_process_path;
00054 };
00055 
00057 
00059 
00060 class process_entry_array : public array<process_entry> {};
00061 
00062 #endif
00063 

Generated on Fri Nov 21 04:29:57 2008 for HOOPLE Libraries by  doxygen 1.5.1