OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
Loading...
Searching...
No Matches
ui Namespace Reference

Everything related to the user interface, if available. More...

Functions

void add (AbstractUserInterface *instance)
 Add a user interface instance.
 
template<typename UIClass , typename... _Args>
void add (_Args... __args)
 Add an user interface class.
 
void addPixelControlNotifications ()
 Add UI notifications using pixel control.
 

Detailed Description

Everything related to the user interface, if available.

Function Documentation

◆ add() [1/2]

template<typename UIClass , typename... _Args>
void ui::add ( _Args... __args)
inline

Add an user interface class.

Template Parameters
UIClassClass implementing AbstractUserInterface
_ArgsConstructor parameter types
Parameters
__argsConstructor parameters

Definition at line 795 of file SimWheel.hpp.

◆ add() [2/2]

void ui::add ( AbstractUserInterface * instance)

Add a user interface instance.

Parameters
instancePointer to a singleton instance of the class implementing the user interface. Must be global (created with new). Do not delete.

◆ addPixelControlNotifications()

void ui::addPixelControlNotifications ( )
inline

Add UI notifications using pixel control.

Note
No effect unless pixel control is configured

Definition at line 808 of file SimWheel.hpp.