11#ifndef INCGUARD_MGL_INITIALIZER_DELEGATE_H_1616047024
12#define INCGUARD_MGL_INITIALIZER_DELEGATE_H_1616047024
27class Renderer2DDelegate;
28class TextureGenerator;
41class ApplicationModuleInterface;
42class ChronoModuleInterface;
43class DebugModuleInterface;
44class LocaleModuleInterface;
45class WindowModuleInterface;
51class KeyboardDelegate;
77 return _audioInitMode;
88 _audioInitMode = mode;
110 _logLevel = logLevel;
132 _language = language;
149 [[nodiscard]] virtual STL::unique_ptr<Render::TextureGenerator>
MakeTextureGenerator() const noexcept;
158 (void)textureStorage;
178 return File::Error::NoOperation;
195 [[nodiscard]] virtual STL::unique_ptr<System::ChronoModuleInterface>
MakeChronoModule() const noexcept;
203 [[nodiscard]] virtual STL::unique_ptr<System::DebugModuleInterface>
MakeDebugModule() const noexcept;
211 [[nodiscard]] virtual STL::unique_ptr<System::LocaleModuleInterface>
MakeLocaleModule() const noexcept;
219 [[nodiscard]] virtual STL::unique_ptr<System::WindowModuleInterface>
MakeWindowModule() const noexcept;
227 [[nodiscard]] virtual STL::unique_ptr<Input::KeyboardDelegate>
MakeKeyboardDelegate() const noexcept;
235 [[nodiscard]] virtual STL::unique_ptr<Input::MouseDelegate>
MakeMouseDelegate() const noexcept;
243 [[nodiscard]] virtual STL::unique_ptr<Input::TouchDelegate>
MakeTouchDelegate() const noexcept;
261 System::LogLevel _logLevel{System::LogLevel::AppTrace};
263 System::Language _language{System::Language::Unknown};
イニシャライザデリゲート
Definition mgl_initializer_delegate.h:60
constexpr System::Language GetLanguage() const noexcept
使用する言語の取得
Definition mgl_initializer_delegate.h:119
virtual STL::unique_ptr< System::ApplicationModuleInterface > MakeApplicationModule() const noexcept
アプリケーションモジュールの生成
Definition mgl_initializer_delegate.cc:68
constexpr void SetLanguage(System::Language language) noexcept
使用する言語の設定
Definition mgl_initializer_delegate.h:130
virtual void MakeTextureLoader(Render::TextureStorage &textureStorage) const noexcept
テクスチャローダーを生成
Definition mgl_initializer_delegate.h:156
virtual STL::unique_ptr< System::LocaleModuleInterface > MakeLocaleModule() const noexcept
ロケール情報モジュールを生成
Definition mgl_initializer_delegate.cc:101
constexpr void SetLogLevel(System::LogLevel logLevel) noexcept
デフォルトのログレベルを設定
Definition mgl_initializer_delegate.h:108
constexpr void SetAudioInitializeMode(Audio::InitializeMode mode) noexcept
オーディオの初期化タイプを設定
Definition mgl_initializer_delegate.h:86
virtual bool DidInitializeGamepadServer(Input::GamepadServer &server) const noexcept
ゲームパッドサーバ初期化後の処理
Definition mgl_initializer_delegate.h:253
virtual STL::unique_ptr< System::DebugModuleInterface > MakeDebugModule() const noexcept
デバッグモジュールを生成
Definition mgl_initializer_delegate.cc:90
virtual STL::unique_ptr< System::ChronoModuleInterface > MakeChronoModule() const noexcept
日付と時刻のモジュールを生成
Definition mgl_initializer_delegate.cc:79
virtual STL::unique_ptr< Audio::Renderer > MakeAudioRenderer() const noexcept
オーディオレンダラの生成
Definition mgl_initializer_delegate.cc:57
virtual STL::unique_ptr< Input::KeyboardDelegate > MakeKeyboardDelegate() const noexcept
キーボード入力デリゲートの生成
Definition mgl_initializer_delegate.cc:124
virtual File::Result DidInitializeFileSystem() noexcept
ファイルシステム初期化後の処理
Definition mgl_initializer_delegate.h:176
virtual STL::unique_ptr< System::WindowModuleInterface > MakeWindowModule() const noexcept
ウィンドウモジュールを生成
Definition mgl_initializer_delegate.cc:112
virtual STL::unique_ptr< Render::TextureGenerator > MakeTextureGenerator() const noexcept
テクスチャジェネレータを生成
Definition mgl_initializer_delegate.cc:45
constexpr Audio::InitializeMode GetAudioInitializeMode() const noexcept
オーディオの初期化モードを取得
Definition mgl_initializer_delegate.h:75
virtual STL::unique_ptr< Render::Renderer2DDelegate > MakeRenderer2D() const noexcept
2Dレンダラを生成
Definition mgl_initializer_delegate.cc:33
constexpr System::LogLevel GetLogLevel() const noexcept
デフォルトのログレベルを取得
Definition mgl_initializer_delegate.h:97
virtual ~InitializerDelegate() noexcept=default
デストラクタ
virtual STL::unique_ptr< Input::MouseDelegate > MakeMouseDelegate() const noexcept
マウス入力デリゲートの生成
Definition mgl_initializer_delegate.cc:136
virtual STL::unique_ptr< Input::TouchDelegate > MakeTouchDelegate() const noexcept
タッチ入力デリゲートの生成
Definition mgl_initializer_delegate.cc:148
InitializeMode
初期化モード
Definition mgl_audio_defs.h:42
LogLevel
ログレベル
Definition mgl_debug_log_level.h:20
Language
言語
Definition mgl_locale_info.h:22
std::unique_ptr< T, Deleter > unique_ptr
MGLのアロケータを利用するユニークポインタ
Definition mgl_stl_memory.h:247