CARMA C++
|
A list of all possible windows on a system and methods to find them. More...
#include <carma/ui/rtd/common/WindowList.h>
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... | |
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.
|
explicit |
Constructor.
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.
|
pure virtual |
Pure virtual - define it with a bunch of statements like:
add(new Window("demo", "demoprogramName"));.
Implemented in carma::ui::rtd::CarmaWindows.