/** * @file driveModi.h * @author Alexander Klein (alex@kleiax.de) * @brief Contains a virtual class for all Modi * @version 0.1 * @date 2021-12-14 * * @copyright Copyright (c) 2021 * */ #ifndef DRIVEMODI_H #define DRIVEMODI_H /** * @brief Baseclass to build DriveModi * * This class must be inherited by other classes which want to be * act as a DriveModi, because the DriveModi structure uses polymorphism. */ class DriveModi { public: DriveModi(){} virtual ~DriveModi(){} /** * @brief This function is called by the DriveManager * * All actions from a DriveMode have to called from * this function or the PS3-Controller */ virtual void loop() = 0; }; #endif // DRIVEMODI_H