#include <threaded_update_helper.h>
Helper class to create threaded UI updates with a single call.
struct TexGuiThreadUpdate : public maxon::ThreadedUIUpdate <TexGuiThreadUpdate> { }; maxon::ThreadedUIUpdateRef<TexGuiThreadUpdate> _texGuiThreadedPtr;T | type that needs to be declared like: struct TexGuiThreadUpdate : public maxon::ThreadedUIUpdate<TexGuiThreadUpdate> {}; |
公共成员函数 |
|
Result < void > | 开始 ( Delegate < Result < void >(T *self)> &&threadFn, const TimeValue &timerDelay, Bool waitFirstDelay, Delegate < Result < void >(T *self)> &&startWaitFn, const TimeValue &timerInterval, Delegate < void(T *self)> &&timerWaitFn, Delegate < Result < void >(T *self, Error threadError)> &&finalUpdateFunc) |
void | Free () |
StrongRef < T > | GetRef () |
Private Attributes |
|
StrongRef < T > | _ref |
Result <void> Start | ( | Delegate < Result < void >(T *self)> && | threadFn , |
const TimeValue & | timerDelay , | ||
Bool | waitFirstDelay , | ||
Delegate < Result < void >(T *self)> && | startWaitFn , | ||
const TimeValue & | timerInterval , | ||
Delegate < void(T *self)> && | timerWaitFn , | ||
Delegate < Result < void >(T *self, Error threadError)> && | finalUpdateFunc | ||
) |
void Free | ( | ) |
StrongRef <T> GetRef | ( | ) |
|
private |