plugify 1.2.8
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plugify::PlugifyBuilder Class Reference

Public Member Functions

 PlugifyBuilder (const PlugifyBuilder &other)=delete
 
 PlugifyBuilder (PlugifyBuilder &&other) noexcept=delete
 
PlugifyBuilderoperator= (const PlugifyBuilder &other)=delete
 
PlugifyBuilderoperator= (PlugifyBuilder &&other) noexcept=delete
 
PlugifyBuilderWithBaseDir (std::filesystem::path dir)
 
PlugifyBuilderWithPaths (Config::Paths paths)
 
PlugifyBuilderWithConfig (Config config)
 
PlugifyBuilderWithConfigFile (std::filesystem::path path)
 
PlugifyBuilderWithManualUpdate ()
 
PlugifyBuilderWithBackgroundUpdate (std::chrono::milliseconds interval=std::chrono::milliseconds{ 16 })
 
PlugifyBuilderWithUpdateCallback (std::function< void(std::chrono::milliseconds)> callback)
 
PlugifyBuilderWithLogger (std::shared_ptr< ILogger > logger)
 
PlugifyBuilderWithFileSystem (std::shared_ptr< IFileSystem > fs)
 
PlugifyBuilderWithAssemblyLoader (std::shared_ptr< IAssemblyLoader > loader)
 
PlugifyBuilderWithManifestParser (std::shared_ptr< IManifestParser > parser)
 
PlugifyBuilderWithDependencyResolver (std::shared_ptr< IDependencyResolver > resolver)
 
PlugifyBuilderWithExtensionLifecycle (std::shared_ptr< IExtensionLifecycle > lifecycle)
 
PlugifyBuilderWithEventBus (std::shared_ptr< IEventBus > bus)
 
PlugifyBuilderWithDefaults ()
 
template<typename Interface , typename Implementation >
requires std::derived_from<Implementation, Interface>
PlugifyBuilderWithService (std::shared_ptr< Implementation > service)
 
Result< std::shared_ptr< Plugify > > Build ()
 
Result< ConfigLoadConfigFromFile (const std::filesystem::path &path) const
 

Public Attributes

PLUGIFY_ACCESS : const ServiceLocator& GetServices() const noexcept
 

Detailed Description

Definition at line 23 of file plugify.hpp.

Member Function Documentation

◆ WithService()

template<typename Interface , typename Implementation >
requires std::derived_from<Implementation, Interface>
PlugifyBuilder & plugify::PlugifyBuilder::WithService ( std::shared_ptr< Implementation >  service)
inline

Definition at line 64 of file plugify.hpp.

Member Data Documentation

◆ __pad0__

PLUGIFY_ACCESS plugify::PlugifyBuilder::__pad0__

Definition at line 71 of file plugify.hpp.


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