|
lintel 0.2.0
|
#include <Feature.h>
Public Member Functions | |
| Feature (T type, std::shared_ptr< Features > features) | |
| virtual | ~Feature ()=default |
| virtual void | registerTypes (lintel::di::ContainerBuilder &builder)=0 |
| virtual void | initialize (std::shared_ptr< lintel::di::Container > container)=0 |
| std::string_view | getName () |
Public Member Functions inherited from lintel::FeatureInterface | |
| virtual | ~FeatureInterface ()=default |
| virtual void | registerTypes (lintel::di::ContainerBuilder &builder, const std::shared_ptr< Configuration > &configuration, const std::shared_ptr< ProcessName > &processName) |
Protected Attributes | |
| std::string_view | m_name |
Base template class for enum-based features that auto-register with the Features manager
|
inline |
|
virtualdefault |
Virtual destructor
|
inlinevirtual |
Get the name of this feature
Implements lintel::FeatureInterface.
|
pure virtual |
Initialize the feature with the resolved container
Implements lintel::FeatureInterface.
Implemented in lintel::BaseFeature, lintel::CommandLineFeature, lintel::HttpFeature, and lintel::PropertyFeature.
|
pure virtual |
Register dependency injection types for this feature
Implements lintel::FeatureInterface.
Implemented in lintel::BaseFeature, lintel::CommandLineFeature, lintel::HttpFeature, and lintel::PropertyFeature.
|
protected |
The name of this feature derived from the enum value