CCIMXDesktop
 
Loading...
Searching...
No Matches
ProcessBroswer Class Reference

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>

Inheritance diagram for ProcessBroswer:

Classes

struct  ProcessInfo
 The ProcessInfo struct Holds detailed information about a system process. More...
 

Signals

void fetch_finish (const QList< ProcessBroswer::ProcessInfo > &infos)
 fetch_finish Signal emitted when process data is fetched and ready.
 

Public Member Functions

 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.
 

Detailed Description

The ProcessBroswer class Provides an interface to retrieve and monitor system processes information. Acts as a process browser that periodically fetches process data.

Constructor & Destructor Documentation

◆ ProcessBroswer()

ProcessBroswer::ProcessBroswer ( QObject *  parent = nullptr)
explicit

Constructor with optional parent.

Parameters
parentPointer to the QObject parent, default nullptr.

Member Function Documentation

◆ fetch_finish

void ProcessBroswer::fetch_finish ( const QList< ProcessBroswer::ProcessInfo > &  infos)
signal

fetch_finish Signal emitted when process data is fetched and ready.

Parameters
infosList 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
stTrue 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
msecsRefresh interval in milliseconds.

The documentation for this class was generated from the following files: