One org.freedesktop.NetworkManager.AccessPoint — a Wi-Fi network as seen by a wireless device's last scan.
More...
#include <PhosphorServiceNetwork/AccessPoint.h>
One org.freedesktop.NetworkManager.AccessPoint — a Wi-Fi network as seen by a wireless device's last scan.
Owned by an AccessPointModel (parented to it), vended to consumers via the model's rows. Reads its SSID / signal strength / frequency / BSSID / security flags asynchronously via Properties.GetAll and keeps the live-varying strength current through a PropertiesChanged subscription.
◆ AccessPoint()
| PhosphorServiceNetwork::AccessPoint::AccessPoint |
( |
const QString & | dbusPath, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
The object path this access point was built from.
CONSTANT: an AccessPoint is constructed for one path and never re-targeted.
Exposed to QML so a consumer can compare a row against NetworkDevice::activeAccessPointPath and mark the associated network. The accessor below already existed for C++ callers; only the Q_PROPERTY is new, since a bare accessor is invisible to QML. Human-readable security label derived from the AP's flag triple: "" (open), "WEP", "WPA", "WPA2", "WPA3", or "802.1X". Recomputed whenever any underlying flag changes.
◆ ~AccessPoint()
| PhosphorServiceNetwork::AccessPoint::~AccessPoint |
( |
| ) |
|
|
override |
◆ bssid()
| QString PhosphorServiceNetwork::AccessPoint::bssid |
( |
| ) |
const |
|
nodiscard |
◆ bssidChanged
| void PhosphorServiceNetwork::AccessPoint::bssidChanged |
( |
| ) |
|
|
signal |
◆ dbusPath()
| QString PhosphorServiceNetwork::AccessPoint::dbusPath |
( |
| ) |
const |
|
nodiscard |
◆ frequency()
| int PhosphorServiceNetwork::AccessPoint::frequency |
( |
| ) |
const |
|
nodiscard |
◆ frequencyChanged
| void PhosphorServiceNetwork::AccessPoint::frequencyChanged |
( |
| ) |
|
|
signal |
◆ secured()
| bool PhosphorServiceNetwork::AccessPoint::secured |
( |
| ) |
const |
|
nodiscard |
◆ security()
| QString PhosphorServiceNetwork::AccessPoint::security |
( |
| ) |
const |
|
nodiscard |
◆ securityChanged
| void PhosphorServiceNetwork::AccessPoint::securityChanged |
( |
| ) |
|
|
signal |
◆ ssid()
| QString PhosphorServiceNetwork::AccessPoint::ssid |
( |
| ) |
const |
|
nodiscard |
◆ ssidChanged
| void PhosphorServiceNetwork::AccessPoint::ssidChanged |
( |
| ) |
|
|
signal |
◆ strength()
| int PhosphorServiceNetwork::AccessPoint::strength |
( |
| ) |
const |
|
nodiscard |
◆ strengthChanged
| void PhosphorServiceNetwork::AccessPoint::strengthChanged |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following file:
- phosphor-service-network/include/PhosphorServiceNetwork/AccessPoint.h