4#include <cosmos/cosmos.hxx>
13enum class InitPrio : std::size_t {
33 explicit Initable(
const InitPrio prio) {
34 registerInitable(prio);
39 virtual void libInit() = 0;
40 virtual void libExit() = 0;
42 bool libInitialized()
const {
return m_lib_initialized; }
46 void registerInitable(
const InitPrio prio);
50 bool m_lib_initialized =
false;
Pure virtual base class for the library init system.