Inherited by WidgetButton, WidgetCheckBox, WidgetComboBox, WidgetDataGrid, WidgetDateTimePicker, WidgetGroupBox, WidgetProgressBar, WidgetRadioButton, WidgetStatusBar, WidgetTabSheet, WidgetWindowBase, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyDialogWidget >, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyModalDialogWidget >, and WidgetWindowBase< EventHandlerClass, unUsed >.
Public Member Functions | |
Utilities::Thread | fork (unsigned long(EventHandlerClass::*threadProc)()) |
Creates a new thread on the given function. | |
template<class Param> | |
Utilities::Thread | fork (const Param &par, unsigned long(EventHandlerClass::*threadProc)(Param &)) |
Creates a new thread and passes the given parameter. |
E.g. the WidgetWindow have a Threads Aspect to it therefore WidgetWindow realize the AspectThreads through inheritance. Most Widgets realize this Aspect since they can fork the current thread of execution into two threads.
Utilities::Thread fork | ( | unsigned long(EventHandlerClass::*)() | threadProc | ) |
Creates a new thread on the given function.
Forks execution into a member function. If you wish to later manipulate the thread in some way use the Utilities::Thread class to store the return value of this function.
Utilities::Thread fork | ( | const Param & | par, | |
unsigned long(EventHandlerClass::*)(Param &) | threadProc | |||
) |
Creates a new thread and passes the given parameter.
Forks execution into a member function with the given parameter of the given type. If you wish to later manipulate the thread in some way use the Utilities::Thread class to store the return value of this function.