Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorIdentity::ScreenId::detail Namespace Reference

Functions

QHash< QString, QString > & edidSerialCache ()
 
QHash< QString, int > & edidMissCounter ()
 
void assertMainThread ()
 Debug-build enforcement of the documented single-thread contract: the function-local-static caches are mutated without synchronisation, so every public entry point must run on the application (GUI/main) thread.
 

Function Documentation

◆ assertMainThread()

void PhosphorIdentity::ScreenId::detail::assertMainThread ( )
inline

Debug-build enforcement of the documented single-thread contract: the function-local-static caches are mutated without synchronisation, so every public entry point must run on the application (GUI/main) thread.

A null instance (headless unit test before any QCoreApplication) is permitted.

◆ edidMissCounter()

QHash< QString, int > & PhosphorIdentity::ScreenId::detail::edidMissCounter ( )
inline

◆ edidSerialCache()

QHash< QString, QString > & PhosphorIdentity::ScreenId::detail::edidSerialCache ( )
inline