|
libzypp 17.38.6
|
Provider for NAMESPACE_MODALIAS. More...
#include <zypp/ng/sat/namespaces/modalias.h>

Public Types | |
| using | ModaliasQuery = std::function<bool(const std::string &)> |
| Callback to perform the actual modalias query. | |
Public Member Functions | |
| ModaliasNamespaceProvider ()=default | |
| bool | isSatisfied (detail::IdType value) const override |
| Check if a specific value satisfies this namespace condition. | |
| void | setQueryCallback (ModaliasQuery query) |
| Public Member Functions inherited from zyppng::sat::NamespaceProvider | |
| virtual | ~NamespaceProvider ()=default |
| virtual void | checkDirty (Pool &) |
| checkDirty | |
| virtual void | prepare (Pool &) |
| prepare | |
| virtual void | onReset (Pool &) |
| virtual void | attach (Pool &pool) |
Private Attributes | |
| ModaliasQuery | _query |
Additional Inherited Members | |
| Protected Member Functions inherited from zyppng::sat::NamespaceProvider | |
| void | notifyDirty (PoolInvalidation invalidationLevel, std::initializer_list< std::string_view > reasons) |
| Notify the attached registry/pool that data has changed. | |
| Protected Attributes inherited from zyppng::sat::NamespaceProvider | |
| Pool * | _pool = nullptr |
Provider for NAMESPACE_MODALIAS.
Checks against system modaliases (e.g., PCI/USB IDs).
Definition at line 27 of file modalias.h.
| using zyppng::sat::namespaces::ModaliasNamespaceProvider::ModaliasQuery = std::function<bool(const std::string &)> |
Callback to perform the actual modalias query.
Decouples the provider from the concrete hardware detection backend.
Definition at line 36 of file modalias.h.
|
default |
|
overridevirtual |
Check if a specific value satisfies this namespace condition.
| value | The id value to check (e.g., "en_US" for a locale namespace). |
This method is typically called via the libsolv namespace callback during dependency resolution.
Reimplemented from zyppng::sat::NamespaceProvider.
Definition at line 16 of file modalias.cc.
|
inline |
Definition at line 37 of file modalias.h.
|
private |
Definition at line 40 of file modalias.h.