# GlutWrapper::Window Class Reference

List of all members.

## Public Member Functions
| Window (int argc, char **argv, int positionX, int positionY, int width, int height, const std::string &windowName, IRunner *runner, const std::vector< MenuEntry > &menuEntries, IMenuListener *menuListener, IMouseListener *mouseListener, IKeyboardListener *keyboardListener, bool idleRunning)
| ~Window (void)
| Destructor.

## Constructor & Destructor Documentation

Window::Window | ( | int | argc,
|  | char ** | argv,
|  | int | positionX,
|  | int | positionY,
|  | int | width,
|  | int | height,
|  | const std::string & | windowName,
|  | IRunner * | runner,
|  | const std::vector< MenuEntry > & | menuEntries,
|  | IMenuListener * | menuListener,
|  | IMouseListener * | mouseListener,
|  | IKeyboardListener * | keyboardListener,
|  | bool | idleRunning |
| ) |  |  |

Constructor It handles all the execution flow of the test. It creates the render window, runs the main loop, calls runner to execute the frame and creates the menu entries given by runner

Parameters:

  | argc | number of application arguments (for glut initialization)
  | argv | application arguments (for glut initialization)
  | positionX | render window position X coordinate
  | positionY | render window position Y coordinate
  | width | render window height
  | windowName | render window name
  | runner | test runner
  | menuEntries | entries of the right button menu
  | menuListener | listener of right button menu events
  | idleRunning | enable runs even when idle

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

- src/CUDARayCasting/Window.h
- src/CUDARayCasting/Window.cpp