Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::GameModuleLoader Class Reference
+ Collaboration diagram for Flint::GameModuleLoader:

Public Member Functions

 GameModuleLoader (std::filesystem::path modulePath)
 
 GameModuleLoader (const GameModuleLoader &)=delete
 
GameModuleLoader & operator= (const GameModuleLoader &)=delete
 
bool load ()
 
bool prepareReload ()
 
void commitReload ()
 
void rejectReload ()
 
template<typename T >
T getPendingSymbol (const char *name) const
 
MODULE_UPDATE_RESULT update ()
 
void unload ()
 
template<typename T >
T getSymbol (const char *name) const
 
bool isLoaded () const
 
const std::filesystem::path & getModulePath () const
 

Detailed Description

Definition at line 20 of file game-module-loader.h.

Member Function Documentation

◆ getModulePath()

const std::filesystem::path & Flint::GameModuleLoader::getModulePath ( ) const
inlinenodiscard

Definition at line 60 of file game-module-loader.h.

◆ getPendingSymbol()

template<typename T >
T Flint::GameModuleLoader::getPendingSymbol ( const char * name) const
inline

Definition at line 35 of file game-module-loader.h.

◆ getSymbol()

template<typename T >
T Flint::GameModuleLoader::getSymbol ( const char * name) const
inline

Definition at line 48 of file game-module-loader.h.

◆ isLoaded()

bool Flint::GameModuleLoader::isLoaded ( ) const
inlinenodiscard

Definition at line 56 of file game-module-loader.h.


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