fw4spl
gui::Plugin Class Reference

This class is called when the gui bundle is loaded. More...

#include <Plugin.hpp>

+ Inheritance diagram for gui::Plugin:
+ Collaboration diagram for gui::Plugin:

Public Member Functions

virtual GUI_API ~Plugin () noexcept
 Destructor. Do nothing.
 
GUI_API void start ()
 This method is used by runtime to initialize the bundle. More...
 
GUI_API void stop () noexcept
 This method is used by runtime to close the bundle. Do nothing.
 
- Public Member Functions inherited from fwRuntime::Plugin
FWRUNTIME_API std::shared_ptr< BundlegetBundle () const noexcept override
 Retrieves the bundle the executable originates from. More...
 
virtual FWRUNTIME_API void setInitializationData (const std::shared_ptr< ConfigurationElement >configuration) noexcept override
 Initializes the executable instance with the specified configuration element. More...
 
- Public Member Functions inherited from fwRuntime::IPlugin
virtual FWRUNTIME_API ~IPlugin ()
 Destructor : does nothing.
 
virtual FWRUNTIME_API void initialize ()
 Notifies the plugin about its initialisation.
 
virtual FWRUNTIME_API void uninitialize ()
 Notifies the plugin about its uninitialisation.
 
- Public Member Functions inherited from fwRuntime::IExecutable
virtual FWRUNTIME_API ~IExecutable ()
 Destructor : does nothing.
 

Additional Inherited Members

- Protected Member Functions inherited from fwRuntime::Plugin
FWRUNTIME_API void setBundle (std::shared_ptr< Bundle > bundle) noexcept override
 Updates the bundle the executable originates from. More...
 

Detailed Description

This class is called when the gui bundle is loaded.

Definition at line 22 of file Bundles/core/gui/include/gui/Plugin.hpp.

Member Function Documentation

void gui::Plugin::start ( )
virtual

This method is used by runtime to initialize the bundle.

Exceptions
fwRuntime::RuntimeExceptionRegister first basic services of type IAction, IEditor and IView. Secondly, verifies if the command line and profile.xml are well formed and starts the wxWidgets IHM.

Implements fwRuntime::IPlugin.

Definition at line 22 of file Bundles/core/gui/src/gui/Plugin.cpp.


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