CYIFramework is a singleton class used to acquire global instances of a number of classes.
This class manages the initialization and lifetime of all of the classes for which it provides accessors.
#include <framework/YiFramework.h>

Public Member Functions | |
| virtual | ~CYIFramework () override |
| CYITextEngine * | GetTextEngine () |
| CYIAssetLoader * | GetAssetLoader () |
| CYIAssetManager * | GetAssetManager () |
| CYIAudioEngine * | GetAudioEngine () |
| CYITime * | GetTime () |
| CYITranslation * | GetTranslation () const |
| CYIThreadPools * | GetThreadPools () const |
| CYISpeechSynthesizer * | GetSpeechSynthesizer () const |
Public Member Functions inherited from CYIScriptableObject | |
| CYIScriptableObject () | |
| CYIScriptableObject (const CYIScriptableObject &other) | |
| CYIScriptableObject & | operator= (const CYIScriptableObject &other) |
| virtual | ~CYIScriptableObject () |
| CYIBindingImplementation * | GetBindingImplementation () const |
| void | SetBindingImplementation (CYIBindingImplementation *pBindingImplementation) |
| virtual const CYIRuntimeTypeInfo * | GetRuntimeTypeInfoForScriptObject () const |
Static Public Member Functions | |
| static void | SetFrameworkConfiguration (const CYIFrameworkConfiguration &frameworkConfiguration) |
| static CYIFramework * | GetInstance () |
|
overridevirtual |
| CYIAssetLoader* CYIFramework::GetAssetLoader | ( | ) |
| CYIAssetManager* CYIFramework::GetAssetManager | ( | ) |
| CYIAudioEngine* CYIFramework::GetAudioEngine | ( | ) |
|
static |
Returns a pointer to the single instance of this class. This will initialize the class if it has not been initialized yet.
| CYISpeechSynthesizer* CYIFramework::GetSpeechSynthesizer | ( | ) | const |
| CYITextEngine* CYIFramework::GetTextEngine | ( | ) |
| CYIThreadPools* CYIFramework::GetThreadPools | ( | ) | const |
| CYITime* CYIFramework::GetTime | ( | ) |
| CYITranslation* CYIFramework::GetTranslation | ( | ) | const |
|
static |
Sets framework configuration settings. Must be called before first call to GetInstance().