CARMA C++
carma::ui::rtd::WindowList Class Referenceabstract

A list of all possible windows on a system and methods to find them. More...

#include <carma/ui/rtd/common/WindowList.h>

Inheritance diagram for carma::ui::rtd::WindowList:
carma::ui::rtd::CarmaWindows

Public Member Functions

void add (Window *w)
 Add a window definition to the list. More...
 
Window * find (const std::string &windowName) const
 Find a window in the list with the given name. More...
 
::std::vector< ::std::string > getNames () const
 
virtual void load ()=0
 Pure virtual - define it with a bunch of statements like:
add(new Window("demo", "demoprogramName"));. More...
 
 WindowList ()
 Constructor. More...
 

Detailed Description

A list of all possible windows on a system and methods to find them.

This is an abstract base class that needs to have the "load()" method defined to become functional.

A key (window code) is used to find the name of the executable to invoke for each window.

Definition at line 174 of file WindowList.h.

Constructor & Destructor Documentation

carma::ui::rtd::WindowList::WindowList ( )
explicit

Constructor.

Member Function Documentation

void carma::ui::rtd::WindowList::add ( Window *  w)

Add a window definition to the list.

Window* carma::ui::rtd::WindowList::find ( const std::string &  windowName) const

Find a window in the list with the given name.

Returns
pointer to window if found, zero is not found
virtual void carma::ui::rtd::WindowList::load ( )
pure virtual

Pure virtual - define it with a bunch of statements like:
add(new Window("demo", "demoprogramName"));.

Implemented in carma::ui::rtd::CarmaWindows.


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