\
{ \
return new component_name(); \
} \
\
{ \
static sen::kernel::ComponentInfo info {}; \
info.name = SEN_TARGET_NAME; \
info.description = SEN_TARGET_DESCRIPTION; \
info.buildInfo.maintainer = SEN_TARGET_MAINTAINER; \
info.buildInfo.version = SEN_TARGET_VERSION; \
info.buildInfo.compiler = SEN_COMPILER_STRING; \
info.buildInfo.buildTime = std::string(__DATE__) + " " + __TIME__; \
return &info; \
}
Base class for implementing sen kernel components.
Definition component.h:34
#define SEN_COMPONENT_INFO_MAKER
Definition component.h:88
#define SEN_COMPONENT_MAKER
Definition component.h:87
constexpr const char * getGitRef() noexcept
Definition component.h:121
constexpr bool getDebugEnabled() noexcept
Definition component.h:100
constexpr const char * getGitHash() noexcept
Definition component.h:130
constexpr WordSize getWordSize() noexcept
Definition component.h:109
GitStatus getGitStatus() noexcept
Definition component.h:139
Use this macro to make your library loadable. NOLINTNEXTLINE(cppcoreguidelines-macro-usage, bugprone-macro-parentheses).