ork::ShowLogTask Class Reference
[scenegraph]

A ShowInfoTask sub class to display the ork::Logger messages. More...

#include <ShowLogTask.h>

Inheritance diagram for ork::ShowLogTask:
ork::ShowInfoTask ork::AbstractTask ork::TaskFactory ork::Object

List of all members.

Public Member Functions

 ShowLogTask (ptr< Font > f, ptr< Program > p, float fontHeight, vec3i pos)
 Creates a new ShowLogTask.
virtual ~ShowLogTask ()
 Deletes this ShowLogTask.

Static Public Attributes

static bool enabled
 True if this task is enabled.

Protected Member Functions

 ShowLogTask ()
 Creates an uninitialized ShowLogTask.
virtual void init (ptr< Font > f, ptr< Program > p, float fontHeight, vec3i pos)
 Initializes this ShowLogTask.
virtual void draw (ptr< Method > context)
 Draws the framerate and the information messages.

Detailed Description

A ShowInfoTask sub class to display the ork::Logger messages.


Constructor & Destructor Documentation

ork::ShowLogTask::ShowLogTask ( ptr< Font f,
ptr< Program p,
float  fontHeight,
vec3i  pos 
)

Creates a new ShowLogTask.

Parameters:
f the Font used to display Text.
p the program to be used to draw characters.
fontHeight the used font height.
pos x,y position and maximum number of lines of text to display.
virtual ork::ShowLogTask::~ShowLogTask (  )  [virtual]

Deletes this ShowLogTask.

ork::ShowLogTask::ShowLogTask (  )  [protected]

Creates an uninitialized ShowLogTask.


Member Function Documentation

virtual void ork::ShowLogTask::draw ( ptr< Method context  )  [protected, virtual]

Draws the framerate and the information messages.

Parameters:
context the method to which this task belongs.

Reimplemented from ork::ShowInfoTask.

virtual void ork::ShowLogTask::init ( ptr< Font f,
ptr< Program p,
float  fontHeight,
vec3i  pos 
) [protected, virtual]

Initializes this ShowLogTask.

Parameters:
f the Font used to display Text.
p the program to be used to draw characters.
fontHeight the used font height.
pos x,y position and maximum number of lines of text to display.

Member Data Documentation

True if this task is enabled.

When disabled the message logs are not displayed.


Generated on Mon Oct 18 09:36:12 2010 for ork by  doxygen 1.6.1