VISH  0.2
Public Member Functions
Wizt::VTask Class Reference

A functor object that runs in a separate thread, if fired from a ThreadManager. More...

#include </home/werner/origo/vish/ocean/plankton/VThread.hpp>

List of all members.

Public Member Functions


Detailed Description

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).


Member Function Documentation

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.


The documentation for this class was generated from the following files: