VISH
0.2
|
A functor object that runs in a separate thread, if fired from a ThreadManager. More...
#include </home/werner/origo/vish/ocean/plankton/VThread.hpp>
A functor object that runs in a separate thread, if fired from a ThreadManager.
Overload the
run()
function in a child class. Note that VTask's are bound to VParameters, which are part of a VObject. This is required for notification management (control flow).
virtual void Wizt::VTask::run | ( | ) | [pure virtual] |
This function must be overloaded in a child class.
It will run asynchroneously in a separate thread once this VTask object is fired from VThreadManager::start().
void Wizt::VTask::valueChanged | ( | const RefPtr< VValueBase > & | value, |
const ValuePoolPtr & | Context, | ||
const ValueNotifierList * | DoNotBroadcast, | ||
const ValueMap * | VP = 0 |
||
) | [virtual] |
Receive a message - need to document how to actually do so.
Probable the value should just be converted into a VTaskMEssage, that's most intuitive, but that is not yet implemented to work right now.
Implements Wizt::ValueNotifier.