VISH  0.2
Public Member Functions | Static Public Member Functions
Wizt::VThreadCreator Class Reference

Creation interface providing an actual implementation of Threads. More...

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

List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

Creation interface providing an actual implementation of Threads.


Constructor & Destructor Documentation

Wizt::VThreadCreator::VThreadCreator ( const string name,
int  prior = VManagedObject::DEFAULT_PRIORITY,
const RefPtr< VCreationPreferences > &  prop = NullPtr() 
) [inline]

Constructor for creating VThreadManagers.

Parameters:
nameSome textual identification of this implementation
priorThe priority of this implementation, specifies whether it is a rather good or rather bad idea to use this implementation
propAdditional properties of this implementation, when a general implementation is requested, those implementation will be selected which matches most of the requested properties.

Member Function Documentation

virtual VThreadManager* Wizt::VThreadCreator::CreateThreadManager ( ) [pure virtual]

Virtual VThreadManager creation function, to be overloaded in a plugin which actually implements threads.

Todo:
Pass VCreationPreferences
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.


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