18 #ifndef MAUVE_RUNTIME_CORE_HPP 19 #define MAUVE_RUNTIME_CORE_HPP 21 #include "AbstractCore.hpp" 22 #include "WithHook.hpp" 23 #include "CoreContainer.hpp" 37 template <
typename SHELL>
45 template <
typename S,
typename C,
typename F>
47 template <
typename S,
typename C,
typename I>
69 inline std::string
container_name()
const override {
return _container->name(); };
73 inline bool is_configured() const override final {
return _configured; }
75 inline bool configure() override final {
return _container->configure_core(); }
76 inline void cleanup() override final { _container->cleanup_core(); }
82 virtual ~Core() noexcept;
88 inline SHELL &
shell()
const {
return _container->shell(); };
101 #include "ipp/Core.ipp" bool configure() overridefinal
Configure the object.
Definition: Core.hpp:75
SHELL & shell() const
Access to the instantiated shell.
Definition: Core.hpp:88
Core()
Default constructor.
Definition: Core.ipp:31
Objects with hooks.
Definition: WithHook.hpp:27
Object with a Logger.
Definition: WithLogger.hpp:27
Component class.
Definition: Architecture.hpp:34
virtual ~Core() noexcept
Default descructor.
Definition: Core.ipp:41
Class of a generic MAUVE logger.
Definition: logger.hpp:39
The MAUVE namespace.
Definition: tracing.hpp:24
Definition: AbstractCore.hpp:32
AbstractLogger & logger() const override
Get the logger.
Definition: Core.hpp:71
Core container.
Definition: CoreContainer.hpp:33
Definition: Architecture.hpp:38
Core & operator=(Core const &core)=delete
Copy operator.
bool is_configured() const overridefinal
Get the configuration status of the configurable object.
Definition: Core.hpp:73
Definition: AbstractCore.hpp:30
The Core defines the methods of the component.
Definition: Core.hpp:38
void cleanup() overridefinal
Cleanup the object.
Definition: Core.hpp:76
std::string shell_type_name() const override
Get the shell type name.
Definition: Core.ipp:50
The Core defines the methods of the component.
Definition: AbstractCore.hpp:37
std::string container_name() const override
Get the core container name.
Definition: Core.hpp:69