Something
public cpp v1 · immutable#ifndef BUTTON_BOARD_H#define BUTTON_BOARD_H/** Motivation for this class comes from the fact that CMD_BUTTONS * needs to be handled by an object that holds all buttons hence * can deal with them all at once. */#include "button.h"#include "logic_board_device.h"class ButtonBoard : LogicBoardDevice{ public: ButtonBoard(); void process(); private: Button left_fire; Button right_fire;};#endif