Apache Celix
2.4.0
Apache Celix is a framework for C, C++14 and C++17 to develop dynamic modular software applications using component and in-process service-oriented programming.
|
Go to the documentation of this file.
27 namespace celix {
namespace dm {
38 const std::string&
getName()
const;
47 celix_dm_component_t*
cCmp;
49 std::shared_ptr<void>
svc;
56 template<
typename T,
typename I>
Definition: ProvidedService.h:57
bool cppService
Definition: ProvidedService.h:50
ProvidedService< T, I > & setVersion(std::string v)
Definition: ProvidedService_Impl.h:71
Definition: ProvidedService.h:29
BaseProvidedService & operator=(BaseProvidedService &&)=delete
std::string svcName
Definition: ProvidedService.h:48
ProvidedService(celix_dm_component_t *_cmp, std::string svcName, std::shared_ptr< I > svc, bool _cppService)
Definition: ProvidedService_Impl.h:103
bool provideAddedToCmp
Definition: ProvidedService.h:53
void wait() const
Definition: ProvidedService_Impl.h:56
std::shared_ptr< void > svc
Definition: ProvidedService.h:49
const std::string & getVersion() const
Definition: ProvidedService_Impl.h:26
std::string svcVersion
Definition: ProvidedService.h:51
ProvidedService< T, I > & buildAsync()
Definition: ProvidedService_Impl.h:97
ProvidedService< T, I > & build()
Definition: ProvidedService_Impl.h:90
celix::dm::Properties properties
Definition: ProvidedService.h:52
const std::string & getName() const
Definition: ProvidedService_Impl.h:22
BaseProvidedService(celix_dm_component_t *_cmp, std::string svcName, std::shared_ptr< void > svc, bool _cppService)
Definition: ProvidedService_Impl.h:20
celix_dm_component_t * cCmp
Definition: ProvidedService.h:47
void runBuild()
Definition: ProvidedService_Impl.h:42
celix::Properties Properties
Definition: Properties.h:25
ProvidedService< T, I > & addProperty(const std::string &key, const U &value)
ProvidedService< T, I > & setProperties(celix::dm::Properties)
Definition: ProvidedService_Impl.h:77
const celix::dm::Properties & getProperties() const
Definition: ProvidedService_Impl.h:38
bool isCppService() const
Definition: ProvidedService_Impl.h:30
void * getService() const
Definition: ProvidedService_Impl.h:34