coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

ContextThread Class Reference

The class ContextThread encasulated environmental operations needed in the three other specific threads (ParseThread, BuildThread, RenderThread). More...

#include <ContextThread.h>

Inheritance diagram for ContextThread

Inheritance graph
[legend]
Collaboration diagram for ContextThread:

Collaboration graph
[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.

StatisticgetStatistic ()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

RenderJobm_pRenderJob
Statisticm_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:
  • ContextThread.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: