VISH
0.2
|
Creation interface providing an actual implementation of Threads. More...
#include </home/werner/origo/vish/ocean/plankton/VThread.hpp>
Creation interface providing an actual implementation of Threads.
Wizt::VThreadCreator::VThreadCreator | ( | const string & | name, |
int | prior = VManagedObject::DEFAULT_PRIORITY , |
||
const RefPtr< VCreationPreferences > & | prop = NullPtr() |
||
) | [inline] |
Constructor for creating VThreadManagers.
name | Some textual identification of this implementation |
prior | The priority of this implementation, specifies whether it is a rather good or rather bad idea to use this implementation |
prop | Additional properties of this implementation, when a general implementation is requested, those implementation will be selected which matches most of the requested properties. |
virtual VThreadManager* Wizt::VThreadCreator::CreateThreadManager | ( | ) | [pure virtual] |
Virtual VThreadManager creation function, to be overloaded in a plugin which actually implements threads.
VThreadManager * Wizt::VThreadCreator::getThreadManager | ( | ) | [static] |
Get the current thread manager, eventually creating one if not yet existent.
The function will look for the best VInputCreator which implements a type VThreadManager. Multiple such implementations may co-exist, but their creators are supposed to specify their priority.