fw4spl
|
Defines the base executable interface.An executable object is an instance created by an extension point of a plugin. More...
#include <IExecutable.hpp>
Public Member Functions | |
virtual FWRUNTIME_API | ~IExecutable () |
Destructor : does nothing. | |
virtual std::shared_ptr< Bundle > | getBundle () const noexcept=0 |
Retrieves the bundle the executable originates from. More... | |
virtual void | setInitializationData (const std::shared_ptr< ConfigurationElement > configuration) noexcept=0 |
Initializes the executable instance with the specified configuration element. More... | |
Protected Member Functions | |
virtual void | setBundle (std::shared_ptr< Bundle > bundle)=0 |
Updates the bundle the executable originates from. More... | |
Friends | |
struct | Runtime |
Defines the base executable interface.
An executable object is an instance created by an extension point of a plugin.
Definition at line 41 of file IExecutable.hpp.
|
pure virtualnoexcept |
Retrieves the bundle the executable originates from.
Implemented in fwRuntime::Executable, and fwRuntime::Plugin.
|
protectedpure virtual |
Updates the bundle the executable originates from.
[in] | bundle | a pointer to the bundle the executable originates from |
Implemented in fwRuntime::Executable, and fwRuntime::Plugin.
Referenced by fwRuntime::Runtime::createExecutableInstance().
|
pure virtualnoexcept |
Initializes the executable instance with the specified configuration element.
[in] | configuration | a shared pointer to the configuration element used to trigger this execution |
Implemented in fwRuntime::Executable, and fwRuntime::Plugin.
Referenced by fwRuntime::Runtime::createExecutableInstance().