|
libzypp 17.38.6
|
Registry and dispatcher for all pool components. More...
#include <zypp/ng/sat/components/poolcomponents.h>
Classes | |
| struct | TypeErasure |
| struct | CompContainer |
Public Member Functions | |
| PoolComponentSet ()=default | |
| PoolComponentSet (const PoolComponentSet &)=delete | |
| PoolComponentSet (PoolComponentSet &&)=default | |
| PoolComponentSet & | operator= (const PoolComponentSet &)=delete |
| PoolComponentSet & | operator= (PoolComponentSet &&)=default |
| template<typename T> | |
| T & | assertComponent (std::unique_ptr< T > &&compPtr={}) |
| template<typename T> | |
| const T * | findComponent () const |
| void | notifyCheckDirty (Pool &pool) |
| Pass 1 of prepare(): probe external state. | |
| void | notifyPrepare (Pool &pool) |
| Pass 2 of prepare(): pre-index component work (stage/priority order). | |
| void | notifyPrepareWithIndex (PreparedPool &pp) |
| Pass 3 of prepare(): post-index component work (stage/priority order). | |
| void | notifyInvalidate (Pool &pool, PoolInvalidation invalidation) |
| void | notifyRepoAdded (Pool &pool, detail::RepoIdType id) |
| void | notifyRepoRemoved (Pool &pool, detail::RepoIdType id) |
| void | notifyReset (Pool &pool) |
Private Member Functions | |
| void | sortInitBuckets () |
| void | sortPreparedBuckets () |
Private Attributes | |
| std::unordered_map< std::type_index, std::unique_ptr< TypeErasure > > | _components |
| std::vector< detail::IBasicPoolComponent * > | _basicComponents |
| Unified list for checkDirty / onInvalidate / onRepoAdded / onRepoRemoved. | |
| std::array< std::vector< IPoolComponent * >, static_cast< size_t >(InitStage::COUNT)> | _initComponents |
| Pre-index components — stage-bucketed, priority-sorted within bucket. | |
| std::array< bool, static_cast< size_t >(InitStage::COUNT)> | _initDirtyBuckets = {false,} |
| std::array< std::vector< IPreparedPoolComponent * >, static_cast< size_t >(PreparedStage::COUNT)> | _preparedComponents |
| Post-index components — stage-bucketed, priority-sorted within bucket. | |
| std::array< bool, static_cast< size_t >(PreparedStage::COUNT)> | _preparedDirtyBuckets = {false,} |
Registry and dispatcher for all pool components.
Maintains three internal structures:
Dual-phase components (inheriting both IPoolComponent and IPreparedPoolComponent) are explicitly forbidden by policy — split into two cooperating components instead.
Definition at line 138 of file poolcomponents.h.
|
default |
|
delete |
|
default |
|
delete |
|
default |
|
inline |
Definition at line 147 of file poolcomponents.h.
|
inline |
Definition at line 183 of file poolcomponents.h.
|
inline |
Pass 1 of prepare(): probe external state.
setDirty() is legal here.
Definition at line 191 of file poolcomponents.h.
|
inline |
Pass 2 of prepare(): pre-index component work (stage/priority order).
Definition at line 197 of file poolcomponents.h.
|
inline |
Pass 3 of prepare(): post-index component work (stage/priority order).
Definition at line 205 of file poolcomponents.h.
|
inline |
Definition at line 212 of file poolcomponents.h.
|
inline |
Definition at line 217 of file poolcomponents.h.
|
inline |
Definition at line 222 of file poolcomponents.h.
|
inline |
Definition at line 227 of file poolcomponents.h.
|
inlineprivate |
Definition at line 263 of file poolcomponents.h.
|
inlineprivate |
Definition at line 275 of file poolcomponents.h.
|
private |
Definition at line 288 of file poolcomponents.h.
|
private |
Unified list for checkDirty / onInvalidate / onRepoAdded / onRepoRemoved.
Definition at line 291 of file poolcomponents.h.
|
private |
Pre-index components — stage-bucketed, priority-sorted within bucket.
Definition at line 294 of file poolcomponents.h.
|
private |
Definition at line 295 of file poolcomponents.h.
|
private |
Post-index components — stage-bucketed, priority-sorted within bucket.
Definition at line 298 of file poolcomponents.h.
|
private |
Definition at line 299 of file poolcomponents.h.