30 #include <boost/shared_ptr.hpp>
32 #include "../common/WFlag.h"
33 #include "../graphicsEngine/WGECamera.h"
34 #include "WCustomWidget.h"
50 class WUI :
public boost::enable_shared_from_this< WUI >
59 WUI(
int argc,
char** argv );
78 virtual int run() = 0;
96 boost::shared_ptr< WCondition > shutdownCondition ) = 0;
virtual void closeCustomWidget(std::string title)=0
Instruct to close a custom widget.
This class prescribes the interface to the UI.
Base class for all data set types.
int m_argc
Number of command line arguments given.
virtual const WFlag< bool > & isInitialized() const
Returns the init flag.
ProjectionMode
List of possible camera modes.
char ** m_argv
Command line arguments given.
WFlag< bool > m_isInitialized
Flag determining whether the UI is properly initialized.
WUI(int argc, char **argv)
Constructor.
virtual int run()=0
Runs the UI.
virtual ~WUI()
Destructor.
virtual WCustomWidget::SPtr openCustomWidget(std::string title, WGECamera::ProjectionMode projectionMode, boost::shared_ptr< WCondition > shutdownCondition)=0
Instruct to open a new custom widget.