libzypp: zyppng::sat::IPreparedPoolComponent Class Reference

libzypp 17.38.6

zyppng::sat::IPreparedPoolComponent Class Reference

Interface for components that run AFTER the whatprovides index is built. More...

`#include <zypp/ng/sat/components/poolcomponents.h>`

Inheritance diagram for zyppng::sat::IPreparedPoolComponent:

## Public Member Functions
virtual void | attach (Pool &)
virtual void | prepare (PreparedPool &)
virtual PreparedStage | stage () const
virtual int | priority () const
| Fine-grained ordering within a stage.
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 | onRepoAdded (Pool &, RepoIdType)
virtual void | onRepoRemoved (Pool &, RepoIdType)
virtual void | onReset (Pool &)
virtual | ~IBasicPoolComponent ()=default
| IBasicPoolComponent ()=default
| IBasicPoolComponent (const IBasicPoolComponent &)=delete
| IBasicPoolComponent (IBasicPoolComponent &&)=delete
IBasicPoolComponent & | operator= (const IBasicPoolComponent &)=delete
IBasicPoolComponent & | operator= (IBasicPoolComponent &&)=delete

## Detailed Description

Interface for components that run AFTER the whatprovides index is built.

Examples:

- PackagePolicyComponent — expands provides tokens into EvaluatedSolvableSpec caches

Has stage()/priority() for deterministic post-index ordering.

Note
  Calling setDirty() inside prepare() is a bug, asserted in debug builds.

Definition at line 113 of file poolcomponents.h.

## Member Function Documentation

## ◆ attach()

virtual void zyppng::sat::IPreparedPoolComponent::attach | ( | Pool & |  | ) |
| inlinevirtual

Reimplemented in zyppng::sat::PackagePolicyComponent.

Definition at line 115 of file poolcomponents.h.

## ◆ prepare()

virtual void zyppng::sat::IPreparedPoolComponent::prepare | ( | PreparedPool & |  | ) |
| inlinevirtual

Reimplemented in zyppng::sat::PackagePolicyComponent.

Definition at line 116 of file poolcomponents.h.

## ◆ stage()

virtual PreparedStage zyppng::sat::IPreparedPoolComponent::stage | ( |  | ) | const
| inlinevirtual

Reimplemented in zyppng::sat::PackagePolicyComponent.

Definition at line 117 of file poolcomponents.h.

## ◆ priority()

virtual int zyppng::sat::IPreparedPoolComponent::priority | ( |  | ) | const
| inlinevirtual

Fine-grained ordering within a stage.

Lower values run earlier. Default is 0.

Note
  Prefer stage() for coarse ordering; use priority() only when ordering within a stage matters.

Definition at line 123 of file poolcomponents.h.

The documentation for this class was generated from the following file:

- zypp/ng/sat/components/poolcomponents.h