template<typename T>
class maxon::ThreadedUIUpdateRef< T >
Helper class to create threaded UI updates with a single call.
{
};
_texGuiThreadedPtr.
Start(
{
},
{
},
[this](TexGuiThreadUpdate* self) -> void
{
},
{
if (threadError)
{
}
else
{
}
}
Timer value in milliseconds.
Definition: timevalue.h:422
Definition: threaded_update_helper.h:27
Definition: threaded_update_helper.h:115
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)
Definition: threaded_update_helper.h:118
return OK
Definition: apibase.h:2735
#define iferr_scope
Definition: resultbase.h:1389
#define iferr_return
Definition: resultbase.h:1524
- Template Parameters
-
T | type that needs to be declared like: struct TexGuiThreadUpdate : public maxon::ThreadedUIUpdate<TexGuiThreadUpdate> {}; |