Fluent builder API to track bundles.
More...
#include <TrackerBuilders.h>
Fluent builder API to track bundles.
- See also
- celix::BundleContext::trackBundles for more info.
- Note
- Not thread safe.
◆ BundleTrackerBuilder() [1/2]
celix::BundleTrackerBuilder::BundleTrackerBuilder |
( |
std::shared_ptr< celix_bundle_context_t > |
_cCtx | ) |
|
|
inlineexplicit |
◆ BundleTrackerBuilder() [2/2]
◆ addOnInstallCallback()
Adds a "on install" callback function, which will be called - on the Celix event thread - when a new bundle has been installed.
The "on install" callback function has 1 arguments: A const reference to the installed bundle.
◆ addOnStartCallback()
Adds a "on start" callback function, which will be called - on the Celix event thread - when a new bundle has been started.
The "on start" callback function has 1 arguments: A const reference to the started bundle.
◆ addOnStopCallback()
Adds a "on stop" callback function, which will be called - on the Celix event thread - when a new bundle has been stopped.
The "on stop" callback function has 1 arguments: A const reference to the stopped bundle.
◆ build()
std::shared_ptr<BundleTracker> celix::BundleTrackerBuilder::build |
( |
| ) |
|
|
inline |
◆ includeFrameworkBundleInCallback()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ BundleContext
The documentation for this class was generated from the following file: