Outcome of a context mutation on ScreenContextTracker. More...
#include <phosphor-engine/include/PhosphorEngine/ScreenContextTracker.h>
Public Attributes | |
| bool | changed = false |
| The tracked current value actually changed (a real switch, not a same-value re-push that only establishes context). | |
| bool | armSwitch = false |
| Value the engine should OR into its own context-switch flag: true only when a context had already been established before this change. | |
Outcome of a context mutation on ScreenContextTracker.
The tracker owns the "was a context ever established" arming subtleties (which distinguish the daemon's startup push from a genuine desktop/activity switch), but the engine-specific reaction to a switch — logging, arming an engine's own "this pass is a context switch" flag — stays in the engine. The engine ORs armSwitch into its own flag and logs when changed.
| bool PhosphorEngine::ContextChange::armSwitch = false |
Value the engine should OR into its own context-switch flag: true only when a context had already been established before this change.
| bool PhosphorEngine::ContextChange::changed = false |
The tracked current value actually changed (a real switch, not a same-value re-push that only establishes context).