capydi
Loading...
Searching...
No Matches
capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE > Class Template Reference

#include <OnObjectCreated.hpp>

Inheritance diagram for capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE >:
Collaboration diagram for capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE >:

Public Types

using RelatedEntity = RelatedEntity_
using RelatedKeysPack = meta::Pack<meta::Pack<RelatedEntity_>>

Public Member Functions

constexpr OnObjectCreated (meta::Unit< RelatedEntity_ >, DiAction< Action, SIZE > &&action)
Resolution< RelatedEntity, Error > auto pipe (meta::Reference< RelatedEntity > auto decoratee, meta::wrapped_with< ResolutionContext > auto &context) const
Public Member Functions inherited from capy::di::DecoratableChainableConfig< OnObjectCreated< RelatedEntity_, Action, SIZE > >
auto with (Args &&... args) &&

Static Public Attributes

static constexpr ConfigType CONFIG_TYPE = ConfigType::CHAINABLE

Member Typedef Documentation

◆ RelatedEntity

template<typename RelatedEntity_, typename Action, std::size_t SIZE>
using capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE >::RelatedEntity = RelatedEntity_

◆ RelatedKeysPack

template<typename RelatedEntity_, typename Action, std::size_t SIZE>
using capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE >::RelatedKeysPack = meta::Pack<meta::Pack<RelatedEntity_>>

Constructor & Destructor Documentation

◆ OnObjectCreated()

template<typename RelatedEntity_, typename Action, std::size_t SIZE>
capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE >::OnObjectCreated ( meta::Unit< RelatedEntity_ > ,
DiAction< Action, SIZE > && action )
inlineexplicitconstexpr

Member Function Documentation

◆ pipe()

template<typename RelatedEntity_, typename Action, std::size_t SIZE>
Resolution< RelatedEntity, Error > auto capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE >::pipe ( meta::Reference< RelatedEntity > auto decoratee,
meta::wrapped_with< ResolutionContext > auto & context ) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ CONFIG_TYPE

template<typename RelatedEntity_, typename Action, std::size_t SIZE>
ConfigType capy::di::OnObjectCreated< RelatedEntity_, Action, SIZE >::CONFIG_TYPE = ConfigType::CHAINABLE
staticconstexpr

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