Time Shield Library
C++ library for working with time
|
Internal state shared between Timer and TimerScheduler. More...
#include <TimerScheduler.hpp>
Public Attributes | |
TimerScheduler * | m_scheduler = nullptr |
std::mutex | m_callback_mutex |
TimerCallback | m_callback |
std::atomic< std::int64_t > | m_interval_ms {0} |
std::atomic< bool > | m_is_single_shot {false} |
std::atomic< bool > | m_is_active {false} |
std::atomic< bool > | m_is_running {false} |
std::size_t | m_id {0} |
std::atomic< std::uint64_t > | m_generation {0} |
std::atomic< bool > | m_has_external_owner {false} |
Internal state shared between Timer and TimerScheduler.
Definition at line 44 of file TimerScheduler.hpp.
TimerCallback time_shield::detail::TimerState::m_callback |
Definition at line 47 of file TimerScheduler.hpp.
std::mutex time_shield::detail::TimerState::m_callback_mutex |
Definition at line 46 of file TimerScheduler.hpp.
std::atomic<std::uint64_t> time_shield::detail::TimerState::m_generation {0} |
Definition at line 53 of file TimerScheduler.hpp.
std::atomic<bool> time_shield::detail::TimerState::m_has_external_owner {false} |
Definition at line 54 of file TimerScheduler.hpp.
std::size_t time_shield::detail::TimerState::m_id {0} |
Definition at line 52 of file TimerScheduler.hpp.
std::atomic<std::int64_t> time_shield::detail::TimerState::m_interval_ms {0} |
Definition at line 48 of file TimerScheduler.hpp.
std::atomic<bool> time_shield::detail::TimerState::m_is_active {false} |
Definition at line 50 of file TimerScheduler.hpp.
std::atomic<bool> time_shield::detail::TimerState::m_is_running {false} |
Definition at line 51 of file TimerScheduler.hpp.
std::atomic<bool> time_shield::detail::TimerState::m_is_single_shot {false} |
Definition at line 49 of file TimerScheduler.hpp.
TimerScheduler* time_shield::detail::TimerState::m_scheduler = nullptr |
Definition at line 45 of file TimerScheduler.hpp.