• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • AgentClientWidget
  • AgentClientWidget Class

    The status dashboard of one agent, as a remote sees it. More...

    Header: #include <AgentClientWidget>
    Inherits: ClientWidget

    Detailed Description

    AgentClientWidget is the ClientWidget of an AgentClient, which creates it on the first call to widget() and holds it in a shared pointer. It shows the agent's live state from its AgentStateCourier: icon rows for the mode, the control flags and the sensors, a vision preview, a map preview with the agent's position, and the names of the active stanzas.

    The vision preview subscribes to the agent's video stream only while the agent reports vision as on, and grows while it is on. A click on the vision preview or the map emits navigateToActivity() with the activity to open and the agent's id; RemoteStatusActivity pushes it.

    See also AgentClient and ClientWidget.