Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Gui Class Reference

A generic class for designing graphical user interfaces (GUIs). More...

#include <gui.h>

Inheritance diagram for Gui:

GuiPlanner List of all members.

Public Methods

 Gui (Render *render)
 The window. More...

virtual ~Gui ()
virtual void Start ()
 Start running the Gui. More...

virtual void HandleEvents ()=0
 Process any IO events (may be used by Render). More...

virtual void ButtonHandle (int b)
 Figure out what actions to take based on menu choices. More...


Public Attributes

RenderR
bool Finished
 Set to true if you want to main loop to terminate. More...


Protected Methods

virtual void CreateWindow ()
 Make the menu window. More...

virtual void Init ()
 Initialize Gui and Render. More...

virtual void MainLoop ()
 The main event processing loop. More...


Protected Attributes

string FilePath

Detailed Description

A generic class for designing graphical user interfaces (GUIs).

The graphical user interface (GUI) is designed as a hierarchy of classes to enable specific user interfaces to be designed for a variety of different motion strategy problems and planning algorithms. Currently, there is one derived class which serves as the GUI for all of the RRT-based planners. Each instance of Gui includes an instance of an RRT Planner class and an instance of a Render class. Using this design, the same basic GUI design can be used, regardless of the particular rendering methods.


Constructor & Destructor Documentation

Gui::Gui Render   render
 

The window.

virtual Gui::~Gui   [inline, virtual]
 


Member Function Documentation

virtual void Gui::ButtonHandle int    b [inline, virtual]
 

Figure out what actions to take based on menu choices.

Reimplemented in GuiPlanner.

virtual void Gui::CreateWindow   [inline, protected, virtual]
 

Make the menu window.

virtual void Gui::HandleEvents   [pure virtual]
 

Process any IO events (may be used by Render).

Implemented in GuiPlanner.

void Gui::Init   [protected, virtual]
 

Initialize Gui and Render.

Reimplemented in GuiPlanner.

void Gui::MainLoop   [protected, virtual]
 

The main event processing loop.

void Gui::Start   [virtual]
 

Start running the Gui.


Member Data Documentation

string Gui::FilePath [protected]
 

bool Gui::Finished
 

Set to true if you want to main loop to terminate.

Render* Gui::R
 


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


Web page maintained by Steve LaValle