Slot loading and management system. More...
#include <slotLoader.hpp>
Public Member Functions | |
| me & | addPath (const std::string &filePath) |
| me & | addPath (const std::vector< std::string > paths) |
| me & | addPath (std::initializer_list< const nchar * > paths) |
| me & | addRelativePath (const std::string &path) |
| me & | setBaseSlots (nmap &s) |
| Sets the map where loaded slots will be stored. | |
| me & | setBaseSlots (nmap *it) BY_SIDE_FUNC(it |
| void | load () |
| Initiates the pack loading process. | |
Public Member Functions inherited from by::typeProvidable | |
| nbool | operator== (const me &rhs) const |
| nbool | operator!= (const me &rhs) const |
| virtual const type & | getType () const =0 |
| nbool | isSub (const type &it) const |
| nbool | isSub (const type *it) const BY_SIDE_FUNC(isSub) |
| nbool | isSub (const me &it) const |
| nbool | isSub (const me *it) const BY_SIDE_FUNC(isSub) |
| nbool | isSuper (const type &it) const |
| nbool | isSuper (const type *it) const BY_SIDE_FUNC(isSuper) |
| nbool | isSuper (const me &it) const |
| nbool | isSuper (const me *it) const BY_SIDE_FUNC(isSuper) |
| template<typename T > | |
| nint | isSub () const |
| template<typename T > | |
| nint | isSuper () const |
| template<typename T > | |
| T * | cast () |
| template<typename T > | |
| const T * | cast () const BY_CONST_FUNC(cast< T >()) virtual void *cast(const type &to) |
| Safe cast to target type using type hierarchy information. | |
| const void * | cast (const type &to) const BY_CONST_FUNC(cast(to)) void *cast(const type *it) BY_SIDE_FUNC(cast) |
Public Member Functions inherited from by::clonable | |
| virtual me * | clone () const =0 |
| virtual me * | cloneDeep () const |
| virtual void | onCloneDeep (const me &from) |
Public Attributes | |
| me setBaseSlots | it |
| me setBaseSlots * | this |
Slot loading and management system.
Manages the loading of slots from manifest files and file paths. Coordinates pack loading strategies and maintains slot hierarchies for the runtime system.
| void by::slotLoader::load | ( | ) |
Initiates the pack loading process.
This method triggers the discovery, parsing, verification, and linking of all packs found in the configured paths.
| me & by::slotLoader::setBaseSlots | ( | nmap & | s | ) |
Sets the map where loaded slots will be stored.
| s | The nmap object to store the loaded slots. |
slotLoader instance.