| 92 | public: |
| 93 | template<class given_callable_type> |
| 94 | timer_state(size_t due_time, |
| 95 | size_t frequency, |
| 96 | std::shared_ptr<concurrencpp::executor> executor, |
| 97 | std::weak_ptr<concurrencpp::timer_queue> timer_queue, |
| 98 | bool is_oneshot, |
| 99 | given_callable_type&& callable) : |
| 100 | timer_state_base(due_time, frequency, std::move(executor), std::move(timer_queue), is_oneshot), |
| 101 | m_callable(std::forward<given_callable_type>(callable)) {} |
| 102 | |
| 103 | void execute() override { |
| 104 | if (cancelled()) { |
nothing calls this directly
no outgoing calls
no test coverage detected