Blender  V3.3
GHOST_TimerManager.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
9 #pragma once
10 
11 #include <vector>
12 
13 #include "GHOST_Types.h"
14 
15 class GHOST_TimerTask;
16 
23  public:
28 
33 
39 
44  bool getTimerFound(GHOST_TimerTask *timer);
45 
53 
61 
68 
74  bool fireTimers(uint64_t time);
75 
83 
84  protected:
88  void disposeTimers();
89 
90  typedef std::vector<GHOST_TimerTask *> TTimerVector;
93 
94 #ifdef WITH_CXX_GUARDEDALLOC
95  MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_TimerManager")
96 #endif
97 };
GHOST_TSuccess
Definition: GHOST_Types.h:74
bool fireTimers(uint64_t time)
GHOST_TSuccess removeTimer(GHOST_TimerTask *timer)
bool fireTimer(uint64_t time, GHOST_TimerTask *task)
bool getTimerFound(GHOST_TimerTask *timer)
GHOST_TSuccess addTimer(GHOST_TimerTask *timer)
std::vector< GHOST_TimerTask * > TTimerVector
double time
struct blender::compositor::@179::@181 task
unsigned int uint32_t
Definition: stdint.h:80
unsigned __int64 uint64_t
Definition: stdint.h:90