#include <threaded_update_helper.h>
Helper class to create threaded UI updates with a single call.
T | type that needs to be declared like: struct TexGuiThreadUpdate : public maxon::ThreadedUIUpdate<TexGuiThreadUpdate> {}; |
Public Member Functions | |
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 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 |