Application Registration Service
Application Registration Service

Application Registration Service

  • ZEBRA_APPLICATION:
    Macro that needs to be added on the corresponding application's View Class Header in order to enable the registration macro.
  • REGISTER_APPLICATION():
    Used to register a new screen as an application with the service.
    • ClassView:
      Name of the class for the view that implements the application entry point.
    • Name:
      String name of the application to be displayed on menus and linked to config parameters.
    • Entry point:
      Function pointer to the function that implements a transition into the screen. This function can be automatically generated by TouchGFX Designer.
    • Priority:
      Ordinal number (uint8_t) to define placement on the Home Menu. Can be repeated across multiple applications.
  • TRANSITION_CALLBACK():
    Macro to easily format the Entry point required by the registration macro.
    • callback:
      Function pointer to the method (in FrontEndApplication) that implements the transition.