OpenWalnut
1.5.0dev
|
This class prescribes the interface to the UI. More...
#include <WUI.h>
Public Member Functions | |
WUI (int argc, char **argv) | |
Constructor. More... | |
virtual | ~WUI () |
Destructor. More... | |
virtual const WFlag< bool > & | isInitialized () const |
Returns the init flag. More... | |
virtual int | run ()=0 |
Runs the UI. More... | |
virtual WUIWidgetFactory::SPtr | getWidgetFactory () const =0 |
Returns the widget factory of the UI. More... | |
Protected Attributes | |
WFlag< bool > | m_isInitialized |
Flag determining whether the UI is properly initialized. More... | |
int | m_argc |
Number of command line arguments given. More... | |
char ** | m_argv |
Command line arguments given. More... | |
This class prescribes the interface to the UI.
It basically is an abstract class defining the interface common to all possible UI implementations.
WUI::WUI | ( | int | argc, |
char ** | argv | ||
) |
|
pure virtual |
|
virtual |
Returns the init flag.
Definition at line 41 of file WUI.cpp.
References m_isInitialized.
|
pure virtual |
|
protected |
Number of command line arguments given.
Definition at line 95 of file WUI.h.
Referenced by WQtGui::run().
|
protected |
Command line arguments given.
Definition at line 100 of file WUI.h.
Referenced by WQtGui::run(), and WScriptUI::run().
|
protected |
Flag determining whether the UI is properly initialized.
Definition at line 90 of file WUI.h.
Referenced by isInitialized(), WQtGui::run(), and WScriptUI::run().