\
{ \
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:90
#define SEN_COMPONENT_MAKER
Definition component.h:89
constexpr const char * getGitRef() noexcept
Definition component.h:123
constexpr bool getDebugEnabled() noexcept
Definition component.h:102
constexpr const char * getGitHash() noexcept
Definition component.h:132
constexpr WordSize getWordSize() noexcept
Definition component.h:111
GitStatus getGitStatus() noexcept
Definition component.h:141
Use this macro to make your library loadable. NOLINTNEXTLINE(cppcoreguidelines-macro-usage, bugprone-macro-parentheses).