#include <ServiceDependency.h>
◆ BaseServiceDependency() [1/3]
celix::dm::BaseServiceDependency::BaseServiceDependency |
( |
celix_dm_component_t * |
c | ) |
|
|
inline |
◆ ~BaseServiceDependency()
BaseServiceDependency::~BaseServiceDependency |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ BaseServiceDependency() [2/3]
◆ BaseServiceDependency() [3/3]
◆ cServiceDependency()
celix_dm_service_dependency_t* celix::dm::BaseServiceDependency::cServiceDependency |
( |
| ) |
const |
|
inline |
Returns the C DM service dependency
◆ isValid()
bool celix::dm::BaseServiceDependency::isValid |
( |
| ) |
const |
|
inline |
Whether the service dependency is valid.
Deprecated -> will always return true.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ runBuild()
void BaseServiceDependency::runBuild |
( |
| ) |
|
|
inline |
Run the service dependency build. After this call the service dependency is added to the component and is enabled. The underlining service tracker will be created async.
◆ setDepStrategy()
◆ wait()
void BaseServiceDependency::wait |
( |
| ) |
const |
|
inline |
Wait for an empty Celix event queue. Should not be called on the Celix event queue thread.
Can be used to ensure that the service dependency is completely processed (service trackers are created).
◆ waitForExpired()
template<typename U >
void BaseServiceDependency::waitForExpired |
( |
std::weak_ptr< U > |
observe, |
|
|
long |
svcId, |
|
|
const char * |
observeType |
|
) |
| |
|
inlineprotected |
◆ cServiceDep
celix_dm_service_dependency_t* celix::dm::BaseServiceDependency::cServiceDep {nullptr} |
|
protected |
The documentation for this class was generated from the following files: