Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Plugins::EditorPluginManager Class Reference
Inheritance diagram for Grindstone::Plugins::EditorPluginManager:
Grindstone::Plugins::IPluginManager

Public Types

using Iterator = std::vector<Grindstone::Plugins::MetaData>::iterator
using ConstIterator = std::vector<Grindstone::Plugins::MetaData>::const_iterator

Public Member Functions

virtual bool PreprocessPlugins () override
virtual void LoadPluginsByStage (std::string_view stageName) override
virtual void UnloadPluginsByStage (std::string_view stageName) override
virtual std::filesystem::path GetLibraryPath (std::string_view pluginName, std::string_view libraryName) override
const std::vector< std::filesystem::path > & GetPluginsFolders ()
virtual void AddPluginsFolder (const std::filesystem::path &path)
virtual void QueueInstall (const std::filesystem::path &path)
virtual void QueueUninstall (const std::filesystem::path &path)
virtual void ProcessQueuedPluginInstallsAndUninstalls ()
Iterator begin () noexcept
ConstIterator begin () const noexcept
Iterator end () noexcept
ConstIterator end () const noexcept

Protected Member Functions

bool LoadModule (const std::filesystem::path &path)
void UnloadModule (const std::filesystem::path &path)
void ResolvePlugins (std::vector< Grindstone::Plugins::ManifestData > &manifestResults)

Protected Attributes

std::map< std::filesystem::path, Utilities::Modules::Handle > pluginModules
std::set< std::filesystem::path > queuedInstalls {}
std::set< std::filesystem::path > queuedUninstalls {}
std::vector< Grindstone::Plugins::MetaDataresolvedPluginManifest {}
std::vector< std::filesystem::path > pluginsFolders {}

Member Function Documentation

◆ GetLibraryPath()

std::filesystem::path Grindstone::Plugins::EditorPluginManager::GetLibraryPath ( std::string_view pluginName,
std::string_view libraryName )
overridevirtual

◆ LoadPluginsByStage()

void EditorPluginManager::LoadPluginsByStage ( std::string_view stageName)
overridevirtual

◆ PreprocessPlugins()

bool EditorPluginManager::PreprocessPlugins ( )
overridevirtual

◆ UnloadPluginsByStage()

void EditorPluginManager::UnloadPluginsByStage ( std::string_view stageName)
overridevirtual

The documentation for this class was generated from the following files:
  • /github/workspace/sources/code/Editor/PluginSystem/EditorPluginManager.hpp
  • /github/workspace/sources/code/Editor/PluginSystem/EditorPluginManager.cpp