MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Dll::TModuleBoundDlls< M > Struct Template Reference

List DLL's which is used by a specific module and its owning plugin. More...

#include <Dll.h>

Inheritance diagram for Mcro::Dll::TModuleBoundDlls< M >:
Mcro::Modules::TModuleBoundObject< M, FScopedDllSet >

Public Types

using ModuleBoundObject = TModuleBoundObject<M, FScopedDllSet>
 
- Public Types inherited from Mcro::Modules::TModuleBoundObject< M, FScopedDllSet >
using StorageType
 

Public Member Functions

template<CConvertibleTo< const TCHAR * >... DllFiles>
 TModuleBoundDlls (const TCHAR *pushPath, DllFiles... dllFiles)
 
- Public Member Functions inherited from Mcro::Modules::TModuleBoundObject< M, FScopedDllSet >
 TModuleBoundObject (FObjectFactory &&factory={})
 
FScopedDllSet & GetChecked ()
 
FScopedDllSet const & GetChecked () const
 
FScopedDllSet * TryGet ()
 
const FScopedDllSet * TryGet () const
 

Detailed Description

template<CObservableModule M>
struct Mcro::Dll::TModuleBoundDlls< M >

List DLL's which is used by a specific module and its owning plugin.

Goes well with McroBuild.ModuleRuleExtensions.UseRuntimeDependencies or McroBuild.ModuleRuleExtensions.PrepareRuntimeDependencies like so:

TModuleBoundDlls<FMyAwesomeModule> GMyLibraryDlls {MYLIBRARY_DLL_PATH, MYLIBRARY_DLL_FILES};
List DLL's which is used by a specific module and its owning plugin.
Definition Dll.h:96

Where MyLibrary is an external module type importing a third-party library with this snippet contained in its rules:

this.PrepareRuntimeDependencies(this.ModulePath() / "lib" / "x64");

Definition at line 95 of file Dll.h.

Member Typedef Documentation

◆ ModuleBoundObject

template<CObservableModule M>
using Mcro::Dll::TModuleBoundDlls< M >::ModuleBoundObject = TModuleBoundObject<M, FScopedDllSet>

Definition at line 97 of file Dll.h.

Constructor & Destructor Documentation

◆ TModuleBoundDlls()

template<CObservableModule M>
template<CConvertibleTo< const TCHAR * >... DllFiles>
Mcro::Dll::TModuleBoundDlls< M >::TModuleBoundDlls ( const TCHAR * pushPath,
DllFiles... dllFiles )
inline

Definition at line 100 of file Dll.h.


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