OpenSiv3D  v0.6.5
C++20 framework for creative coding
Addon.hpp File Reference
#include "Common.hpp"
#include "IAddon.hpp"
#include "StringView.hpp"
#include "detail/Addon.ipp"

Namespaces

 s3d
 
 s3d::Addon
 アドオン関連の機能
 

Functions

bool s3d::Addon::Register (StringView name, std::unique_ptr< IAddon > &&pAddon, int32 priority=0)
 アドオンを登録します。 More...
 
template<class AddonType , std::enable_if_t< std::is_base_of_v< IAddon, AddonType >> * = nullptr>
bool s3d::Addon::Register (StringView name, int32 priority=0)
 アドオンを登録します。 More...
 
void s3d::Addon::Unregister (StringView name)
 指定した名前のアドオンの登録を解除します。 More...
 
void s3d::Addon::UnregisterAll ()
 すべてのアドオンを登録解除します。 More...
 
bool s3d::Addon::IsRegistered (StringView name)
 指定した名前のアドオンが登録されているかを返します。 More...
 
IAddon * s3d::Addon::GetIAddon (StringView name)
 アドオンへのポインタを取得します。 More...
 
template<class AddonType >
AddonType * s3d::Addon::GetAddon (StringView name)
 アドオンへのポインタを取得します。 More...