# GlutWrapper::IRunner Class Reference

Runs the test. It's used by Window. More...

`#include <IRunner.h>`

Inheritance diagram for GlutWrapper::IRunner:

List of all members.

## Public Member Functions
virtual void | InitializeOpengl (int width, int height)=0
| It is called after opengl context is created. It can be used to setup opengl states.
virtual void | Run (void)=0
| Runs a step of the test. Its called once every iteration of the main loop.
virtual void | Reshape (int width, int height)=0
| It is called when the window has been reshaped.
## Protected Member Functions
| IRunner (void)
| Contructor hidden from user.
virtual | ~IRunner (void)=0
| Destructor hidden from user.

## Detailed Description

Runs the test. It's used by Window.

Note:
  GlutWrapper::Window

## Member Function Documentation

virtual void GlutWrapper::IRunner::InitializeOpengl | ( | int | width,
|  | int | height |
| ) |  |  | `[pure virtual]`

It is called after opengl context is created. It can be used to setup opengl states.

Parameters:

  | width | render window width
  | height | render window height

Implemented in GpuQuadraticCurveRender::Runner.

virtual void GlutWrapper::IRunner::Reshape | ( | int | width,
|  | int | height |
| ) |  |  | `[pure virtual]`

It is called when the window has been reshaped.

Parameters:

  | width | render window width
  | height | render window height

Implemented in GpuQuadraticCurveRender::Runner.

The documentation for this class was generated from the following file:

- src/GpuQuadraticCurveRender/IRunner.h