Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
di.cppm File Reference

C++20 module partition for dependency injection. More...

#include <any>
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
Include dependency graph for di.cppm:

Go to the source code of this file.

Classes

class  kcenon::common::di::IServiceContainer
 Abstract interface for dependency injection containers. More...
 
class  kcenon::common::di::ServiceContainer
 Simple thread-safe service container implementation. More...
 
class  kcenon::common::di::IBootstrapper
 Interface for system bootstrapping. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::common
 Core interfaces.
 
namespace  kcenon::common::di
 

Detailed Description

C++20 module partition for dependency injection.

This module partition exports DI-related types:

  • IServiceContainer: Service container interface
  • ServiceContainer: Simple implementation

Part of the kcenon.common module.

Definition in file di.cppm.