IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::Module< Type > Class Template Reference

Base class for modules that will automatically register them to be loaded by the module manager. More...

#include <ice/module.hxx>

Public Member Functions

virtual ~Module () noexcept=default

Static Public Member Functions

static auto module_info () noexcept -> ice::ModuleInfo const &

Detailed Description

template<typename Type>
class ice::Module< Type >

Base class for modules that will automatically register them to be loaded by the module manager.

Loading is done either by instantiating a module register object or by loading a dynamic module using the module regsiter.

Template Parameters
TypeThe module type that devices from this type.

Constructor & Destructor Documentation

◆ ~Module()

template<typename Type>
virtual ice::Module< Type >::~Module ( )
virtualdefaultnoexcept

Member Function Documentation

◆ module_info()

template<typename Type>
auto ice::Module< Type >::module_info ( ) -> ice::ModuleInfo const &
inlinestaticnoexcept
Returns
Module info that can be used to manually load selected modules using the module register.

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