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.
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
celix::dm::DmActivator Class Reference

#include <DmActivator.h>

Collaboration diagram for celix::dm::DmActivator:
Collaboration graph
[legend]

Public Member Functions

 DmActivator (DependencyManager &m)
 
virtual ~DmActivator ()=default
 
 DmActivator (const DmActivator &)=delete
 
DmActivatoroperator= (const DmActivator &)=delete
 
DependencyManagermanager () const
 
celix_bundle_context_t * context () const
 
virtual void init ()
 
virtual void deinit ()
 

Static Public Member Functions

static DmActivatorcreate (DependencyManager &mng)
 

Protected Attributes

DependencyManagermng
 
celix_bundle_context_t * ctx
 

Detailed Description

This class is considered deprecated. Use CELIX_CXX_GEN_BUNDLE_ACTIVATOR instead.

Constructor & Destructor Documentation

◆ DmActivator() [1/2]

celix::dm::DmActivator::DmActivator ( DependencyManager m)
inline

◆ ~DmActivator()

virtual celix::dm::DmActivator::~DmActivator ( )
virtualdefault

◆ DmActivator() [2/2]

celix::dm::DmActivator::DmActivator ( const DmActivator )
delete

Member Function Documentation

◆ context()

celix_bundle_context_t* celix::dm::DmActivator::context ( ) const
inline

◆ create()

static DmActivator* celix::dm::DmActivator::create ( DependencyManager mng)
static

The static method to create a new DM activator. NOTE that this method in intentionally not implemented in the C++ Dependency Manager library. This should be done by the bundle specific DM activator.

Parameters
mngA reference to the Dependency Manager
Returns
A pointer to a DmActivator. The Dependency Manager is responsible for deleting the pointer when the bundle is stopped.

◆ deinit()

virtual void celix::dm::DmActivator::deinit ( )
inlinevirtual

The init of the DM Activator. Can be overridden by the bundle specific DM activator.

Parameters
managerA reference to the Dependency Manager

◆ init()

virtual void celix::dm::DmActivator::init ( )
inlinevirtual

The init of the DM Activator. Should be overridden by the bundle specific DM activator.

Parameters
managerA reference to the Dependency Manager

◆ manager()

DependencyManager& celix::dm::DmActivator::manager ( ) const
inline

◆ operator=()

DmActivator& celix::dm::DmActivator::operator= ( const DmActivator )
delete

Member Data Documentation

◆ ctx

celix_bundle_context_t* celix::dm::DmActivator::ctx
protected

◆ mng

DependencyManager& celix::dm::DmActivator::mng
protected

The documentation for this class was generated from the following file: