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

    The header of the remote's control activities: back, agent, control method and menu. More...

    Header: #include <ControlPlanningHeader>
    Inherits: ActivityHeader

    Detailed Description

    ControlPlanningHeader is an ActivityHeader. The remote window creates one, shares it through a QSharedPointer, and registers it as the fixed custom header of every control activity, so all of them show the same bar.

    The agent button shows the current agent's identicon and name, which it looks up in the remote's address book. The control method button shows the icon and title of the active control activity. Each control activity calls setState() when it resumes. A click on either button emits agentChangeRequested() or controlMethodChangeRequested(), and the remote window pushes the matching selection activity.

    See also ActivityHeader and RemoteActuatorActivity.