Blender V4.3
GHOST_TimerManager.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10#pragma once
11
12#include <vector>
13
14#include "GHOST_Types.h"
15
16class GHOST_TimerTask;
17
24 public:
29
34
40
46
54
62
69
75 bool fireTimers(uint64_t time);
76
83 bool fireTimer(uint64_t time, GHOST_TimerTask *task);
84
85 protected:
89 void disposeTimers();
90
91 using TTimerVector = std::vector<GHOST_TimerTask *>;
94
95#ifdef WITH_CXX_GUARDEDALLOC
96 MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_TimerManager")
97#endif
98};
GHOST_TSuccess
Definition GHOST_Types.h:87
bool fireTimers(uint64_t time)
GHOST_TSuccess removeTimer(GHOST_TimerTask *timer)
bool fireTimer(uint64_t time, GHOST_TimerTask *task)
bool getTimerFound(GHOST_TimerTask *timer)
std::vector< GHOST_TimerTask * > TTimerVector
GHOST_TSuccess addTimer(GHOST_TimerTask *timer)
unsigned int uint32_t
Definition stdint.h:80
unsigned __int64 uint64_t
Definition stdint.h:90
wmTimer * timer