plugify 1.2.8
Loading...
Searching...
No Matches
Public Member Functions | List of all members
plugify::IAssemblyLoader Interface Referenceabstract

Interface for assembly loading operations. More...

#include <assembly_loader.hpp>

Public Member Functions

virtual Result< AssemblyPtr > Load (const std::filesystem::path &path, LoadFlag flags=LoadFlag::Default, std::span< const std::filesystem::path > searchPaths={})=0
 Load an assembly from file.
 
virtual Result< void > Unload (const AssemblyPtr &assembly)=0
 Unload an assembly.
 

Detailed Description

Interface for assembly loading operations.

Definition at line 12 of file assembly_loader.hpp.

Member Function Documentation

◆ Load()

virtual Result< AssemblyPtr > plugify::IAssemblyLoader::Load ( const std::filesystem::path &  path,
LoadFlag  flags = LoadFlag::Default,
std::span< const std::filesystem::path >  searchPaths = {} 
)
pure virtual

Load an assembly from file.

Parameters
pathPath to the assembly file
flagsLoading flags
Returns
Loaded assembly or error

◆ Unload()

virtual Result< void > plugify::IAssemblyLoader::Unload ( const AssemblyPtr &  assembly)
pure virtual

Unload an assembly.

Parameters
assemblyAssembly to unload
Returns
Success or error

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