InputInterface

class InputInterface
#include <InputInterface.h>

Abstract base class for input handling in the LcdMenu system.

This class provides an interface for observing input events and interacting with the LcdMenu. Derived classes must implement the observe() method to handle specific input mechanisms.

Note

This class is intended to be subclassed and cannot be instantiated directly.

Param menu:

Pointer to an LcdMenu object that this input interface will interact with.

Subclassed by ButtonAdapter, KeyboardAdapter, SimpleRotaryAdapter

Public Functions

inline InputInterface(LcdMenu *menu)
virtual ~InputInterface() = default
virtual void observe() = 0

Protected Attributes

LcdMenu *menu = NULL