Main Page Class Hierarchy Compound List Compound Members Related Pages
ContextThread Class ReferenceThe class ContextThread encasulated environmental operations needed in the three other specific threads (ParseThread, BuildThread, RenderThread).
More...
#include <ContextThread.h>
Inheritance diagram for ContextThread
[legend]Collaboration diagram for ContextThread:
[legend]List of all members.
Public Methods |
|
| ContextThread (RenderJob *pRenderJob) |
|
FileManager* | getFileManager ()const |
| | Query for the FileManager instance of the current scope.
|
|
void | setStatistic (Statistic *pStatistic) |
| | Set the statistic object, the RenderThread takes ownership of this object.
|
| Statistic* | getStatistic ()const |
| | Query for the statistical information collected during the rendering. More...
|
Static Public Methods |
| ContextThread* | getInstance () throw (WrongContextError) |
| | getInstance returns the ContextThread instance of the current thread execution context. More...
|
Protected Attributes |
|
RenderJob* | m_pRenderJob |
|
Statistic* | m_pStatistic |
Detailed Description
The class ContextThread encasulated environmental operations needed in the three other specific threads (ParseThread, BuildThread, RenderThread).
-
Author(s):
-
Marcus Buergel
Member Function Documentation
|
ContextThread * ContextThread::getInstance (
|
) throw (WrongContextError) [static]
|
|
|
|
getInstance returns the ContextThread instance of the current thread execution context.
A WrongContextError is thrown if the current thread isn't a ContextThread.
Reimplemented in RenderThread, and InitThread. |
|
Statistic * ContextThread::getStatistic (
|
) const [inline]
|
|
|
|
Query for the statistical information collected during the rendering.
-
Returns:
-
Statistic The collected statistical information as Statistic object.
|
The documentation for this class was generated from the following file:
|