class
#include <core/ecs/dynamic.hpp>
DynamicPlugin Manages the loading and unloading of a plugin from a shared library.
Public functions
Function documentation
bool cubos:: core:: ecs:: DynamicPlugin:: load(const std::string& name)
Loads the plugin from a shared library with the given name.
Parameters | |
---|---|
name | Shared library name. |
Returns | Whether the plugin was loaded successfully. |
void cubos:: core:: ecs:: DynamicPlugin:: unload()
Unloads the plugin.
Does nothing if the plugin was not loaded.