The ProcessBroswer class Provides an interface to retrieve and monitor system processes information. Acts as a process browser that periodically fetches process data.
More...
#include <ProcessBroswer.h>
|
| ProcessBroswer (QObject *parent=nullptr) |
| Constructor with optional parent.
|
|
| ~ProcessBroswer () |
| Destructor cleans up resources.
|
|
void | set_flush_freq (const int msecs) |
| set_flush_freq Sets the frequency (in milliseconds) at which process data is refreshed.
|
|
void | set_capture_state (bool st) |
| set_capture_state Enables or disables process data capturing.
|
|
The ProcessBroswer class Provides an interface to retrieve and monitor system processes information. Acts as a process browser that periodically fetches process data.
◆ ProcessBroswer()
ProcessBroswer::ProcessBroswer |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Constructor with optional parent.
- Parameters
-
parent | Pointer to the QObject parent, default nullptr. |
◆ fetch_finish
fetch_finish Signal emitted when process data is fetched and ready.
- Parameters
-
infos | List of ProcessInfo structures with current process data. |
◆ set_capture_state()
void ProcessBroswer::set_capture_state |
( |
bool |
st | ) |
|
set_capture_state Enables or disables process data capturing.
- Parameters
-
st | True to start capturing, false to stop. |
◆ set_flush_freq()
void ProcessBroswer::set_flush_freq |
( |
const int |
msecs | ) |
|
|
inline |
set_flush_freq Sets the frequency (in milliseconds) at which process data is refreshed.
- Parameters
-
msecs | Refresh interval in milliseconds. |
The documentation for this class was generated from the following files:
- extern_app/SystemState/Core/ProcessBroswer.h
- extern_app/SystemState/Core/ProcessBroswer.cpp