|
libzypp 17.38.6
|
Component managing the Pool architecture. More...
#include <zypp/ng/sat/components/architecturecomponent.h>

Public Types | |
| using | ArchitectureProvider = std::function<zypp::Arch()> |
| Provider function returning an Arch. | |
Public Member Functions | |
| ArchitectureComponent ()=default | |
| void | setProvider (ArchitectureProvider provider) |
| Set a custom architecture provider. | |
| zypp::Arch | arch () const |
| Get the current architecture. | |
| InitStage | stage () const override |
| int | priority () const override |
| Fine-grained ordering within a stage. | |
| void | attach (Pool &pool) override |
| void | prepare (Pool &pool) override |
| void | onRepoAdded (Pool &pool, detail::RepoIdType id) override |
| void | onReset (Pool &pool) override |
| Public Member Functions inherited from zyppng::sat::detail::IBasicPoolComponent | |
| virtual void | checkDirty (Pool &) |
| Probe external state. | |
| virtual void | onInvalidate (Pool &, PoolInvalidation) |
| React to pool invalidation — clear internal caches. | |
| virtual void | onRepoRemoved (Pool &, RepoIdType) |
| virtual | ~IBasicPoolComponent ()=default |
| IBasicPoolComponent ()=default | |
| IBasicPoolComponent (const IBasicPoolComponent &)=delete | |
| IBasicPoolComponent (IBasicPoolComponent &&)=delete | |
| IBasicPoolComponent & | operator= (const IBasicPoolComponent &)=delete |
| IBasicPoolComponent & | operator= (IBasicPoolComponent &&)=delete |
Private Attributes | |
| Pool * | _pool = nullptr |
| ArchitectureProvider | _provider |
| SerialNumberWatcher | _watcher |
Component managing the Pool architecture.
This component ensures that libsolv's internal architecture is synced with the system or a custom provider whenever the pool content changes.
Definition at line 30 of file architecturecomponent.h.
| using zyppng::sat::ArchitectureComponent::ArchitectureProvider = std::function<zypp::Arch()> |
Provider function returning an Arch.
Definition at line 33 of file architecturecomponent.h.
|
default |
| void zyppng::sat::ArchitectureComponent::setProvider | ( | ArchitectureProvider | provider | ) |
Set a custom architecture provider.
Definition at line 21 of file architecturecomponent.cc.
|
inline |
Get the current architecture.
Definition at line 41 of file architecturecomponent.h.
|
inlineoverridevirtual |
Reimplemented from zyppng::sat::IPoolComponent.
Definition at line 44 of file architecturecomponent.h.
|
inlineoverridevirtual |
Fine-grained ordering within a stage.
Lower values run earlier. Default is 0.
Reimplemented from zyppng::sat::IPoolComponent.
Definition at line 45 of file architecturecomponent.h.
|
overridevirtual |
Reimplemented from zyppng::sat::IPoolComponent.
Definition at line 29 of file architecturecomponent.cc.
|
overridevirtual |
Reimplemented from zyppng::sat::IPoolComponent.
Definition at line 34 of file architecturecomponent.cc.
|
overridevirtual |
Reimplemented from zyppng::sat::detail::IBasicPoolComponent.
Definition at line 46 of file architecturecomponent.cc.
|
overridevirtual |
Reimplemented from zyppng::sat::detail::IBasicPoolComponent.
Definition at line 41 of file architecturecomponent.cc.
|
private |
Definition at line 53 of file architecturecomponent.h.
|
private |
Definition at line 54 of file architecturecomponent.h.
|
private |
Definition at line 55 of file architecturecomponent.h.