Registry¶
class Registry
Functions¶
| Name | Description |
|---|---|
| add_borrowed | Borrowed factories stay owned by the caller (e.g. a loaded plugin); the caller must outlive the registry. |
| candidates | Candidates sorted by (priority+score desc, id asc). |
Function Details¶
add_borrowed¶
Status add_borrowed(const Factory* f)
Borrowed factories stay owned by the caller (e.g. a loaded plugin); the caller must outlive the registry.
candidates¶
std::vector<const Factory*> candidates(NodeStage stage, const Request& r, const DeviceCaps& caps) const
Candidates sorted by (priority+score desc, id asc). Never null entries.