diff --git a/include/sta/timer.hpp b/include/sta/timer.hpp index f8c8a72..0ea4a07 100644 --- a/include/sta/timer.hpp +++ b/include/sta/timer.hpp @@ -27,6 +27,13 @@ namespace sta * */ virtual void stop() = 0; + /** + * @brief Check if timer is running. + * + * @return true if timer is running + * @return false if timer is not running + */ + virtual bool isRunning() = 0; }; } // namespace sta