fw4spl
fwGui::IApplication Class Referenceabstract

Defines the application manipulation API. More...

#include <IApplication.hpp>

+ Inheritance diagram for fwGui::IApplication:
+ Collaboration diagram for fwGui::IApplication:

Public Types

typedef std::string FactoryRegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUI_API IApplication ()
 Constructor. Do nothing.
 
virtual FWGUI_API ~IApplication ()
 Destructor. Do nothing.
 
virtual FWGUI_API void exit (int returncode)=0
 Tells the application to exit with a returncode.
 
void setConfirm (bool confirm)
 Sets if confirmation is required when exiting application.
 
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Attributes

static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY = "::fwGui::Application"
 

Protected Attributes

bool m_confirm
 Asks confirmation before exiting application.
 

Demangling methods

virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Additional Inherited Members

- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

Defines the application manipulation API.

Date
2009-2010.

Definition at line 23 of file IApplication.hpp.


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