fw4spl
memory::Plugin Struct Reference

Implements a plugin for the memory bundle. More...

#include <Plugin.hpp>

+ Inheritance diagram for memory::Plugin:
+ Collaboration diagram for memory::Plugin:

Public Member Functions

 ~Plugin () noexcept
 Destructor.
 
void start ()
 Start method. (does nothing) More...
 
void stop () noexcept
 Stop method. (does nothing) More...
 
- 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 plugin for the memory bundle.

Definition at line 17 of file Bundles/core/memory/include/memory/Plugin.hpp.

Member Function Documentation

void memory::Plugin::start ( )
virtual

Start method. (does nothing)

This method is used by runtime in order to initialise the bundle.

Exceptions
::fwRuntime::RuntimeException.

Implements fwRuntime::IPlugin.

Definition at line 33 of file Bundles/core/memory/src/memory/Plugin.cpp.

References fwRuntime::Plugin::getBundle(), fwMemory::BufferManager::getDefault(), SLM_ERROR, and SLM_INFO.

+ Here is the call graph for this function:

void memory::Plugin::stop ( )
virtualnoexcept

Stop method. (does nothing)

This method is used by runtime in order to close the bundle.

Implements fwRuntime::IPlugin.

Definition at line 63 of file Bundles/core/memory/src/memory/Plugin.cpp.


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