31 #include "../common/WFlag.h"
32 #include "WUIRequirement.h"
33 #include "WUIViewEventHandler.h"
34 #include "WUIWidgetFactory.h"
50 class WUI:
public std::enable_shared_from_this< WUI >
59 WUI(
int argc,
char** argv );
78 virtual int run() = 0;
Base class for all data set types.
This class prescribes the interface to the UI.
virtual WUIWidgetFactory::SPtr getWidgetFactory() const =0
Returns the widget factory of the UI.
virtual int run()=0
Runs the UI.
char ** m_argv
Command line arguments given.
virtual ~WUI()
Destructor.
WFlag< bool > m_isInitialized
Flag determining whether the UI is properly initialized.
virtual const WFlag< bool > & isInitialized() const
Returns the init flag.
WUI(int argc, char **argv)
Constructor.
int m_argc
Number of command line arguments given.