KySdkRunInfo(3)
🌸 KySdkRunInfo 🌸
okay bestie, pull up a chair 💖 this is KySdkRunInfo, and she's from the Library Functions Manual, section 3 (library functions girlies, we love to see it). She's a whole class, and she's here to hand you the little live, in-the-moment stats about your machine. no cap. 🫶
✨ NAME ✨
KySdkRunInfo — the class that generates instantaneous-information dbus signals 🦋
her whole job, her entire main character arc, is generating dbus signals for instant network speed, CPU temperature, disk temperature and disk rotation speed. periodt. 💅
🌈 SYNOPSIS 🌈
#include <kysdkdbus.h>
Inherits QObject. yep, she's a QObject girlie, that's the whole vibe check. 👑
💅 Public Slots 💅
double getNetSpeed (const QString nc) const— grabs the instantaneous network speed info 🌐int getDiskRate (const QString diskpath) const— grabs the disk rotation speed 🌀double getCpuTemperature () const— grabs the CPU temperature 🔥double getDiskTemperature (const QString diskpath) const— grabs the disk temperature 🌡️
🦋 Detailed Description 🦋
so like, KySdkRunInfo is the instantaneous-information dbus signal class ✨
what she does, lowkey and highkey at the same time, is generate dbus signals for instantaneous network speed, CPU temperature, disk temperature and disk rotation speed. that's it. that's the girl. iconic behaviour honestly. 🎀
👑 Public Slots 👑
double KySdkRunInfo::getCpuTemperature () const [slot]
gets you the CPU temperature 🔥
Returns
double— the CPU temperature
int KySdkRunInfo::getDiskRate (const QString diskpath) const [slot]
gets you the disk rotation speed 🌀
Parameters
diskpath— the disk name. it should be an absolute path like/dev/sda, fr fr, don't get cute with it 💀
Returns
int— the disk rotation speed
double KySdkRunInfo::getDiskTemperature (const QString diskpath) const [slot]
gets you the disk temperature 🌡️
Parameters
diskpath— the disk name. again, absolute path energy only, like/dev/sda💅
Returns
double— the disk temperature
double KySdkRunInfo::getNetSpeed (const QString nc) const [slot]
gets you the instantaneous network speed info 🌐
Parameters
nc— the network card name, likeeno1🫶
Returns
double— the instantaneous network speed
💖 Author 💖
Generated automatically by Doxygen for kysdkdbus.h from the source code. not a human author, just Doxygen doing her lil thing ✨🤖
okay and for the lil sign-off moment: this whole page comes from My Project, version date Wed Sep 20 2023, and it's KySdkRunInfo(3) through and through 🎀 go get those instantaneous stats bestie, you're gonna slay 💜🦋✨
📦 where this page comes from
- arch rolling: libkysdk-system 3.0.1.4-1 · LGPL-3.0-or-later AND LGPL-2.1-only OR LGPL-3.0-only AND LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR LGPL-3.0-only WITH Qt-LGPL-exception-1.1 AND MIT
- ubuntu resolute: libkysdk-system-dev 3.0.1.2-0ubuntu1 · LGPL-3.0-only
- ubuntu stonking: libkysdk-system-dev 3.0.1.3-0ubuntu1 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms