CCIMXDesktop
 
Loading...
Searching...
No Matches
linuxplatformdrivers.h
1#ifndef LINUXPLATFORMDRIVERS_H
2#define LINUXPLATFORMDRIVERS_H
3
4/* Some Linux platform drivers here */
5#include "Core/CPUStateFetcher.h"
6#include "Core/MemoryInfoFetcher.h"
7#include "Core/ProcessBroswer.h"
8#include <QtClassHelperMacros>
9
26
43
48public:
58 void factory(QList<ProcessBroswer::ProcessInfo>& lists) override;
59};
60
61#endif // LINUXPLATFORMDRIVERS_H
The CCIMX_AbstractCPUStateDriver class Abstract base class factory to provide platform-specific CPU s...
Definition CPUStateFetcher.h:78
The CCIMX_AbstractMemoryInfoDriver class Abstract base class for platform-specific memory information...
Definition MemoryInfoFetcher.h:100
The CCIMX_AbstractProcessBroswerDriver class Abstract base class for platform-specific process browse...
Definition ProcessBroswer.h:91
The LinuxPlatformCPUStateDriver class provides the CPU state driver for Linux.
Definition linuxplatformdrivers.h:30
void factory(CPUStateFetcher::CPUState &state) override
Factory method to get CPU state.
Definition linuxplatformdrivers.cpp:163
Q_DISABLE_COPY(LinuxPlatformCPUStateDriver)
disable copy
The LinuxPlatformMemoryInfoDriver class provides the memory info driver for Linux.
Definition linuxplatformdrivers.h:13
Q_DISABLE_COPY(LinuxPlatformMemoryInfoDriver)
disable copy
void factory(MemoryInfoFetcher::MemoryStat &memory_state) override
Factory method to get memory stats.
Definition linuxplatformdrivers.cpp:158
The LinuxPlatformProcessBrowserDriver class provides the process browser driver for Linux.
Definition linuxplatformdrivers.h:47
void factory(QList< ProcessBroswer::ProcessInfo > &lists) override
Factory method to get process information list.
Definition linuxplatformdrivers.cpp:168
Q_DISABLE_COPY(LinuxPlatformProcessBrowserDriver)
disable copy
The CPUState struct Represents CPU usage state including idle, user, kernel and total time....
Definition CPUStateFetcher.h:33
The MemoryStat struct Holds memory statistics at the byte level.
Definition MemoryInfoFetcher.h:46