14 #ifndef ZYPP_NG_SAT_COMPONENTS_ARCHITECTURECOMPONENT_H_INCLUDED 15 #define ZYPP_NG_SAT_COMPONENTS_ARCHITECTURECOMPONENT_H_INCLUDED Simple serial number watcher.
void onReset(Pool &pool) override
ArchitectureProvider _provider
std::function< zypp::Arch()> ArchitectureProvider
Provider function returning an Arch.
static Arch detectSystemArchitecture()
Determine system architecture evaluating uname and /proc/cpuinfo.
SerialNumberWatcher _watcher
Orchestrator for a libsolv pool instance.
Component managing the Pool architecture.
InitStage stage() const override
Arches, Locales, Namespace Callbacks (The Foundation)
Interface for components that run BEFORE the whatprovides index is built.
This file contains private API, this might break at any time between releases.
void attach(Pool &pool) override
int priority() const override
Fine-grained ordering within a stage.
void onRepoAdded(Pool &pool, detail::RepoIdType id) override
ArchitectureComponent()=default
zypp::Arch arch() const
Get the current architecture.
void prepare(Pool &pool) override
InitStage
Execution stages for IPoolComponent (pre-index phase).
zypp::sat::detail::RepoIdType RepoIdType
void setProvider(ArchitectureProvider provider)
Set a custom architecture provider.