VizKit  3.3.4
Public Types | Static Public Member Functions | Private Member Functions
VizKit::VisualThreading Class Reference

Providing multi-threading functionality. More...

#include <VisualThreading.h>

List of all members.

Public Types

typedef void(* ThreadDidDieCallback )()
 Callback that is called after a thread died.

Static Public Member Functions

static bool createThread (ThreadingFuncPtr aThreadingFuncPtr, void *param=NULL, ThreadDidDieCallback callbackAfterThreadDidDie=NULL)
 Creates a new thread by calling task function.

Private Member Functions

 VisualThreading ()
 The constructor.
 ~VisualThreading ()
 The destructor.

Detailed Description

Providing multi-threading functionality.


Member Typedef Documentation

Callback that is called after a thread died.


Constructor & Destructor Documentation

The constructor.

VisualThreading is a collection of static methods. Class does not need any instances. Constructor is private and not implemented.

The destructor.

VisualThreading is a collection of static methods. Class does not need any instances. Destructor is private and not implemented.


Member Function Documentation

bool VisualThreading::createThread ( ThreadingFuncPtr  aThreadingFuncPtr,
void *  param = NULL,
ThreadDidDieCallback  callbackAfterThreadDidDie = NULL 
) [static]

Creates a new thread by calling task function.

Parameters:
aThreadingFuncPtrPointer to function that should be started in new thread.
paramOptional name for function-thread. Useful for debugging purposes.
callbackAfterThreadDidDieCallback that is called after the created thread did finished execution.
Returns:
True on success, false on failure.

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

Generated on Sun Aug 4 2013 12:59:11 for VizKit by doxygen 1.8.0