Apache Celix  latest
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.
Classes | Typedefs | Enumerations | Functions
celix::dm Namespace Reference

Classes

class  BaseComponent
 
class  BaseProvidedService
 
class  BaseServiceDependency
 
class  Component
 
struct  ComponentInfo
 
class  CServiceDependency
 A service dependency for a component. More...
 
class  DependencyManager
 
struct  DependencyManagerInfo
 
class  DmActivator
 
struct  InterfaceInfo
 
class  ProvidedService
 
class  ServiceDependency
 A service dependency for a component. More...
 
struct  ServiceDependencyInfo
 
class  TypedServiceDependency
 

Typedefs

using Properties = celix::Properties
 

Enumerations

enum  ComponentState : std::uint8_t {
  ComponentState::INACTIVE = 1, ComponentState::WAITING_FOR_REQUIRED = 2, ComponentState::INITIALIZING = 3, ComponentState::DEINITIALIZING = 4,
  ComponentState::INSTANTIATED_AND_WAITING_FOR_REQUIRED = 5, ComponentState::STARTING = 6, ComponentState::STOPPING = 7, ComponentState::TRACKING_OPTIONAL = 8,
  ComponentState::SUSPENDING = 9, ComponentState::SUSPENDED = 10, ComponentState::RESUMING = 11
}
 
enum  DependencyUpdateStrategy { DependencyUpdateStrategy::suspend, DependencyUpdateStrategy::locking }
 

Functions

std::ostream & operator<< (std::ostream &out, const BaseComponent &cmp)
 
std::ostream & operator<< (std::ostream &out, const DependencyManager &mng)
 
template<typename T >
std::string typeName ()
 

Typedef Documentation

◆ Properties

using celix::dm::Properties = typedef celix::Properties

Enumeration Type Documentation

◆ ComponentState

enum celix::dm::ComponentState : std::uint8_t
strong
Enumerator
INACTIVE 
WAITING_FOR_REQUIRED 
INITIALIZING 
DEINITIALIZING 
INSTANTIATED_AND_WAITING_FOR_REQUIRED 
STARTING 
STOPPING 
TRACKING_OPTIONAL 
SUSPENDING 
SUSPENDED 
RESUMING 

◆ DependencyUpdateStrategy

Enumerator
suspend 
locking 

Function Documentation

◆ operator<<() [1/2]

std::ostream & celix::dm::operator<< ( std::ostream &  out,
const BaseComponent cmp 
)
inline

Stream outputs the full component info.

◆ operator<<() [2/2]

std::ostream & celix::dm::operator<< ( std::ostream &  out,
const DependencyManager mng 
)
inline

Stream outputs the full dependency manager info.

◆ typeName()

template<typename T >
std::string celix::dm::typeName ( )