|
fw4spl
|
Implements the base class for all element managed by a bundle. More...
#include <BundleElement.hpp>
Inheritance diagram for fwRuntime::BundleElement:Public Member Functions | |
| FWRUNTIME_API std::shared_ptr< Bundle > | getBundle () const |
| Retrieves the bundle that owns the extension. More... | |
| FWRUNTIME_API bool | isEnable () const |
| Tells if the element is enabled or not. More... | |
| FWRUNTIME_API void | setEnable (const bool enable) |
| Set if the element is enabled or not. More... | |
Protected Member Functions | |
| BundleElement () | |
| Constructor. More... | |
| BundleElement (std::shared_ptr< Bundle > bundle) | |
| Constructor. More... | |
Implements the base class for all element managed by a bundle.
Definition at line 24 of file BundleElement.hpp.
|
protected |
Constructor.
Definition at line 14 of file BundleElement.cpp.
References SLM_ASSERT.
|
protected |
Constructor.
| [in] | bundle | a shared pointer to the managing bundle |
Definition at line 24 of file BundleElement.cpp.
References SLM_ASSERT.
| std::shared_ptr< Bundle > fwRuntime::BundleElement::getBundle | ( | ) | const |
Retrieves the bundle that owns the extension.
Definition at line 34 of file BundleElement.cpp.
Referenced by fwRuntime::ExtensionPoint::getExtensionValidator(), fwActivities::registry::Activities::parseBundleInformation(), and fwRuntime::Extension::validate().
Here is the caller graph for this function:| bool fwRuntime::BundleElement::isEnable | ( | ) | const |
Tells if the element is enabled or not.
Definition at line 41 of file BundleElement.cpp.
References SLM_ASSERT.
| void fwRuntime::BundleElement::setEnable | ( | const bool | enable | ) |
Set if the element is enabled or not.
| [in] | enable | To know if bundle element is enabled |
Definition at line 50 of file BundleElement.cpp.