#pragma once #include #include #include "config.h" #include "BPMDetect.h" using clock_type = std::chrono::high_resolution_clock; // Internally generated // Configured via: BPM class InternalClick { public: InternalClick(Config& config); // signals boost::signals2::signal)> signal_click; // offset in s // slots void run_cyclic_50ms(); private: Config& m_config; std::chrono::time_point m_timestamp; };