fw4spl
fwRuntime::EmptyPlugin Struct Reference

Implements a default plugin for bundles that don't provide a fwRuntime::IPlugin interface implementation. This plugin does nothing by default. It has not been design to be subclassed, but subclassing is neither forbidden. More...

#include <EmptyPlugin.hpp>

+ Inheritance diagram for fwRuntime::EmptyPlugin:
+ Collaboration diagram for fwRuntime::EmptyPlugin:

Public Member Functions

virtual ~EmptyPlugin () noexcept
 Destructor : does nothing.
 
virtual void start ()
 Notifies the plugin about its start.
 
virtual void stop () noexcept
 Notifies the plugin about its stop.
 
- 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

Implements a default plugin for bundles that don't provide a fwRuntime::IPlugin interface implementation. This plugin does nothing by default. It has not been design to be subclassed, but subclassing is neither forbidden.

Remarks
The factory for this executable structure is registered by the runtime it-self.
Date
2004-2005

Definition at line 32 of file EmptyPlugin.hpp.


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