The list of known agents, from which the user picks the one to control. More...
| Header: | #include <AgentSelectActivity> |
| Inherits: | octomy::activity::PageActivity |
The remote and the hub each register one AgentSelectActivity and configure it with their node. It lists the agents in the address book through an AgentListModel, drawn by AgentItemDelegate, and repaints the list every second while it is visible so the signal indicators stay current. It reaches the address book and the comms through activity facilities, with the node as the fallback.
A click on an agent that is trusted pops the activity and returns the agent's id to the caller; the "none" entry returns an empty id. For an agent that is not paired, or that is blocked, the activity asks first, and on a yes it pushes PairingTrustActivity to set the trust level.
See also AgentListModel, AgentItemDelegate, and RemoteActuatorActivity.