#include "phosphorscreenscore_export.h"#include <PhosphorIdentity/ScreenId.h>#include <QString>#include <QStringList>Go to the source code of this file.
Namespaces | |
| namespace | Phosphor |
| namespace | Phosphor::Screens |
| namespace | Phosphor::Screens::ScreenIdentity |
| Stable cross-process screen identifier helpers. | |
Functions | |
| PHOSPHORSCREENSCORE_EXPORT void | Phosphor::Screens::ScreenIdentity::reset () |
| Unconditionally drop every cache this namespace holds (local identifier caches AND the cross-process EDID serial cache). | |
| PHOSPHORSCREENSCORE_EXPORT void | Phosphor::Screens::ScreenIdentity::invalidateEdidCache (const QString &connectorName=QString()) |
| Drop the QScreen-keyed identifier caches AND the underlying EDID-serial cache (cascades to PhosphorIdentity::ScreenId::invalidateEdidCache). | |
| PHOSPHORSCREENSCORE_EXPORT void | Phosphor::Screens::ScreenIdentity::invalidateComputedIdentifiers () |
| Drop the computed-identifier and reverse-lookup caches without touching the EDID-serial cache. | |
| PHOSPHORSCREENSCORE_EXPORT QString | Phosphor::Screens::ScreenIdentity::baseIdentifierFor (const QScreen *screen) |
Compute the EDID-based base ID for a QScreen*. | |
| PHOSPHORSCREENSCORE_EXPORT QString | Phosphor::Screens::ScreenIdentity::identifierFor (const QScreen *screen) |
Compute the canonical identifier for a QScreen*. | |
| PHOSPHORSCREENSCORE_EXPORT QScreen * | Phosphor::Screens::ScreenIdentity::findByIdOrName (const QString &identifier) |
Resolve an identifier (connector name OR EDID-style ID, with or without "/vs:N" virtual-screen suffix) to a QScreen*. | |
| bool | Phosphor::Screens::ScreenIdentity::isConnectorName (const QString &identifier) |
| True if the identifier looks like a connector name (no ':'). | |
| PHOSPHORSCREENSCORE_EXPORT QString | Phosphor::Screens::ScreenIdentity::idForName (const QString &connectorName) |
| Convert a connector name to its current screen identifier. | |
| PHOSPHORSCREENSCORE_EXPORT QString | Phosphor::Screens::ScreenIdentity::nameForId (const QString &screenId) |
| Convert a screen identifier back to its current connector name. | |
| QStringList | Phosphor::Screens::ScreenIdentity::variantsFor (const QString &screenIdOrName) |
Return every equivalent form of screenIdOrName. | |
| PHOSPHORSCREENSCORE_EXPORT bool | Phosphor::Screens::ScreenIdentity::screensMatch (const QString &a, const QString &b) |
| Tolerance-aware equality between two screen identifiers. | |
| PHOSPHORSCREENSCORE_EXPORT bool | Phosphor::Screens::ScreenIdentity::belongsToPhysicalScreen (const QString &storedScreenId, const QString &physicalScreenId) |
Whether storedScreenId belongs to the physical screen physicalScreenId. | |