20 [[nodiscard]]
virtual constexpr auto getPluginName() ->
const char * = 0;
21 [[nodiscard]]
virtual constexpr auto getPluginVersion() ->
Version {
25 virtual void init() = 0;
26 virtual void update() = 0;
29 m_logger = std::make_shared<Logger>(getPluginName());
30 getLogger()->info(
"Loading Plugin {} with Version {}", getPluginName(),
31 static_cast<std::string
>(getPluginVersion()));
34 [[nodiscard]]
auto getLogger()
const -> std::shared_ptr<Logger> {
39 std::shared_ptr<Logger> m_logger;