1#ifndef PROCESSBROSWER_H
2#define PROCESSBROSWER_H
64 void fetch_finish(
const QList<ProcessBroswer::ProcessInfo>& infos);
73 void setup_platform_relative();
81 int flush_msecs { 1500 };
82 QList<ProcessInfo> process_list;
101 virtual void factory(QList<ProcessBroswer::ProcessInfo>& lists) = 0;
The CCIMX_AbstractProcessBroswerDriver class Abstract base class for platform-specific process browse...
Definition ProcessBroswer.h:91
virtual void factory(QList< ProcessBroswer::ProcessInfo > &lists)=0
factory Populate the list with current system processes information.
The ProcessBroswer class Provides an interface to retrieve and monitor system processes information....
Definition ProcessBroswer.h:15
~ProcessBroswer()
Destructor cleans up resources.
Definition ProcessBroswer.cpp:14
void fetch_finish(const QList< ProcessBroswer::ProcessInfo > &infos)
fetch_finish Signal emitted when process data is fetched and ready.
void set_capture_state(bool st)
set_capture_state Enables or disables process data capturing.
Definition ProcessBroswer.cpp:21
void set_flush_freq(const int msecs)
set_flush_freq Sets the frequency (in milliseconds) at which process data is refreshed.
Definition ProcessBroswer.h:49
The ProcessInfo struct Holds detailed information about a system process.
Definition ProcessBroswer.h:33
int pid
Process ID.
Definition ProcessBroswer.h:34
qint64 memoryUsageKB
Memory usage in kilobytes.
Definition ProcessBroswer.h:39
QString userName
User who owns the process.
Definition ProcessBroswer.h:41
int ppid
Parent Process ID.
Definition ProcessBroswer.h:35
int threadCount
Number of threads in the process.
Definition ProcessBroswer.h:38
QString name
Process name.
Definition ProcessBroswer.h:36
double cpuPercent
CPU usage percentage.
Definition ProcessBroswer.h:40
QString fullPath
Full executable path of the process.
Definition ProcessBroswer.h:37