Skip to content
Flecs v4.1
mixin.inl
Go to the documentation of this file.
1/**
2 * @file addons/cpp/mixins/timer/mixin.inl
3 * @brief Timer module mixin.
4 */
5
6/**
7 * @memberof flecs::world
8 * @ingroup cpp_addons_timer
9 */
10
11/** Find or register a singleton timer. */
12template <typename T>
14
15/** Find or register a timer. */
16template <typename... Args>
17flecs::timer timer(Args &&... args) const;
18
19/** Enable randomization of initial time values for timers.
20 * @see ecs_randomize_timers()
21 */
22void randomize_timers() const;
Timer class.
Definition impl.hpp:14
flecs::timer timer() const
Find or register a singleton timer.
void randomize_timers() const
Enable randomization of initial time values for timers.
flecs::timer timer(Args &&... args) const
Find or register a timer.