DVTk API
ThreadManager Class
DVTkDvtkHighLevelInterface.Common.ThreadsThreadManager
DVTk API

[This is preliminary documentation and is subject to change.]

The ThreadManager holds the overview of a collection of Threads, some of which are directly linked to the ThreadManager as the childThreads, other that are indirectly linked. Each Thread must directly or indirectly be linked to an instance of a ThreadManager.
Declaration Syntax
C#Visual BasicVisual C++
public class ThreadManager
Public Class ThreadManager
public ref class ThreadManager
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
ThreadManager()()()
Default coonstructor.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Messages
Get a copy of the list of received and send messages of the contained Threads. Note that received and send messages may have been removed from this list using the RemoveMessage or ClearMessages methods of the contained Threads.

Stop()()()
Stop all Threads that are managed by this ThreadManager.

ThreadsStateChangeEvent
Event is fired when the state of one of the Threads managed by this ThreadManager changes.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WaitForCompletionThreads()()()
Wait until all child Threads are either unstarted or stopped.

Inheritance Hierarchy
Object
ThreadManager

Assembly: DvtkHighLevelInterface (Module: DvtkHighLevelInterface) Version: 0.0.0.0