#include <Component.h>
◆ BaseComponent() [1/2]
celix::dm::BaseComponent::BaseComponent |
( |
celix_bundle_context_t * |
con, |
|
|
celix_dependency_manager_t * |
cdm, |
|
|
std::string |
name, |
|
|
std::string |
uuid |
|
) |
| |
|
inline |
◆ ~BaseComponent()
BaseComponent::~BaseComponent |
( |
| ) |
|
|
inlinevirtualdefaultnoexcept |
◆ BaseComponent() [2/2]
celix::dm::BaseComponent::BaseComponent |
( |
const BaseComponent & |
| ) |
|
|
delete |
◆ bundleContext()
celix_bundle_context_t* celix::dm::BaseComponent::bundleContext |
( |
| ) |
const |
|
inline |
Returns the C bundle context
◆ cComponent()
celix_dm_component_t* celix::dm::BaseComponent::cComponent |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string& celix::dm::BaseComponent::getName |
( |
| ) |
const |
|
inline |
◆ getState()
◆ getUUID()
const std::string& celix::dm::BaseComponent::getUUID |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ runBuild()
void BaseComponent::runBuild |
( |
| ) |
|
|
inline |
Run the dm component build. After this call the component is added to the dependency manager and is enabled. The underlining service registration and service tracker will be registered/created async.
◆ wait()
void BaseComponent::wait |
( |
| ) |
const |
|
inline |
Wait for an empty Celix event queue.
Should not be called on the Celix event queue thread. Note scheduled events are not part of the event queue.
Can be used to ensure that all created/updated components are completely processed (services registered and/or service trackers are created).
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const BaseComponent & |
cmp |
|
) |
| |
|
friend |
Stream outputs the full component info.
◆ cCmp
celix_dm_component_t* celix::dm::BaseComponent::cCmp |
|
protected |
◆ cDepMan
celix_dependency_manager_t* celix::dm::BaseComponent::cDepMan |
|
protected |
◆ cmpAddedToDepMan
std::atomic<bool> celix::dm::BaseComponent::cmpAddedToDepMan {false} |
|
protected |
◆ cmpName
std::string celix::dm::BaseComponent::cmpName {} |
|
protected |
◆ cmpUUID
std::string celix::dm::BaseComponent::cmpUUID {} |
|
protected |
◆ componentContexts
std::vector<std::shared_ptr<void> > celix::dm::BaseComponent::componentContexts {} |
|
protected |
◆ context
celix_bundle_context_t* celix::dm::BaseComponent::context |
|
protected |
◆ dependencies
◆ mutex
std::mutex celix::dm::BaseComponent::mutex {} |
|
protected |
◆ providedServices
std::vector<std::shared_ptr<BaseProvidedService> > celix::dm::BaseComponent::providedServices {} |
|
protected |
The documentation for this class was generated from the following files: