#include <phosphorlayoutapi_export.h>#include <PhosphorLayoutApi/ILayoutSourceFactory.h>#include <QDebug>#include <QList>#include <QMutex>#include <QString>#include <functional>#include <memory>#include <type_traits>#include <typeindex>#include <unordered_map>Go to the source code of this file.
Classes | |
| class | PhosphorLayout::FactoryContext |
| Service registry passed to a layout-source-provider builder so it can pull whatever registries / dependencies its factory needs. More... | |
| struct | PhosphorLayout::PendingLayoutSourceProvider |
| One pending layout-source-provider registration. More... | |
| class | PhosphorLayout::LayoutSourceProviderRegistrar |
| Static-init self-registration helper for provider libraries. More... | |
Namespaces | |
| namespace | PhosphorLayout |
Functions | |
| PHOSPHORLAYOUTAPI_EXPORT QList< PendingLayoutSourceProvider > & | PhosphorLayout::pendingLayoutSourceProviders () |
| Process-global list of pending provider registrations. | |
| PHOSPHORLAYOUTAPI_EXPORT QMutex & | PhosphorLayout::pendingLayoutSourceProvidersMutex () |
Mutex protecting pendingLayoutSourceProviders(). | |
| template<typename Registry , typename Factory > | |
| std::unique_ptr< ILayoutSourceFactory > | PhosphorLayout::makeProviderFactory (const FactoryContext &ctx) |
Standard provider builder: pull Registry from ctx, return a new Factory bound to it, or nullptr if the composition root didn't surface that registry. | |