WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
List of ThreadInfo objects.
This class is used by DOF for thread monitoring
More...
Public Member Functions | |
void | HeartBeat (object HostObject=null) |
Calls the HeartBeat method of the ThreadInfo object for the specified thread. If the specified thread does not have a ThreadInfo object in the list, a new ThreadInfo object will be instanciated and added to the list. More... | |
void | HeartBeat (string HostObjectName) |
Calls the HeartBeat method of the ThreadInfo object for the specified thread. If the specified thread does not have a ThreadInfo object in the list, a new ThreadInfo object will be instanciated and added to the list. More... | |
void | RecordException (Exception Exception, object HostObject=null) |
This method records a exception which has been captured. More... | |
void | ThreadTerminates () |
Has to be called by the thread before it terminates. This command removes the thread from the List, so the system can clean up the resources used by the thread. More... | |
bool | Contains (Thread Thread) |
Determines whether the list contains a ThreadInfo object for the given thread. More... | |
Properties | |
ThreadInfo | this[Thread Thread] [get] |
Gets the ThreadInfo object for the specified thread. More... | |
List of ThreadInfo objects.
This class is used by DOF for thread monitoring
Definition at line 13 of file ThreadInfoList.cs.
bool DirectOutput.General.ThreadInfoList.Contains | ( | Thread | Thread | ) |
Determines whether the list contains a ThreadInfo object for the given thread.
Thread | The thread to check. |
true
if the list contains the specified thread; otherwise, false
. Definition at line 140 of file ThreadInfoList.cs.
void DirectOutput.General.ThreadInfoList.HeartBeat | ( | object | HostObject = null | ) |
Calls the HeartBeat method of the ThreadInfo object for the specified thread.
If the specified thread does not have a ThreadInfo object in the list, a new ThreadInfo object will be instanciated and added to the list.
HostObject | The object hosting the thread to be monitored. |
Definition at line 25 of file ThreadInfoList.cs.
void DirectOutput.General.ThreadInfoList.HeartBeat | ( | string | HostObjectName | ) |
Calls the HeartBeat method of the ThreadInfo object for the specified thread.
If the specified thread does not have a ThreadInfo object in the list, a new ThreadInfo object will be instanciated and added to the list.
HostObjectName | The name of the object hosting the thread. |
Definition at line 62 of file ThreadInfoList.cs.
void DirectOutput.General.ThreadInfoList.RecordException | ( | Exception | Exception, |
object | HostObject = null |
||
) |
This method records a exception which has been captured.
Exception | The exception to record. |
Definition at line 90 of file ThreadInfoList.cs.
void DirectOutput.General.ThreadInfoList.ThreadTerminates | ( | ) |
Has to be called by the thread before it terminates.
This command removes the thread from the List, so the system can clean up the resources used by the thread.
Definition at line 101 of file ThreadInfoList.cs.
|
get |
Gets the ThreadInfo object for the specified thread.
Thread | The thread for which to lookup the ThreadInfoObject. |
System.ArgumentException | The ThreadInfoList does not contain a ThreadInfo object for thread {0}..Build(Thread.Name);Thread |
Definition at line 121 of file ThreadInfoList.cs.