You.i Engine
CYIFramework Class Reference

Detailed Description

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>

Inheritance diagram for CYIFramework:

Public Member Functions

virtual ~CYIFramework () override
 
CYITextEngineGetTextEngine ()
 
CYIAssetLoaderGetAssetLoader ()
 
CYIAssetManagerGetAssetManager ()
 
CYIAudioEngineGetAudioEngine ()
 
CYITimeGetTime ()
 
CYITranslationGetTranslation () const
 
CYIThreadPoolsGetThreadPools () const
 
CYISpeechSynthesizerGetSpeechSynthesizer () const
 
- Public Member Functions inherited from CYIScriptableObject
 CYIScriptableObject ()
 
 CYIScriptableObject (const CYIScriptableObject &other)
 
CYIScriptableObjectoperator= (const CYIScriptableObject &other)
 
virtual ~CYIScriptableObject ()
 
CYIBindingImplementationGetBindingImplementation () const
 
void SetBindingImplementation (CYIBindingImplementation *pBindingImplementation)
 
virtual const CYIRuntimeTypeInfoGetRuntimeTypeInfoForScriptObject () const
 

Static Public Member Functions

static void SetFrameworkConfiguration (const CYIFrameworkConfiguration &frameworkConfiguration)
 
static CYIFrameworkGetInstance ()
 

Constructor & Destructor Documentation

virtual CYIFramework::~CYIFramework ( )
overridevirtual

Member Function Documentation

CYIAssetLoader* CYIFramework::GetAssetLoader ( )
CYIAssetManager* CYIFramework::GetAssetManager ( )
CYIAudioEngine* CYIFramework::GetAudioEngine ( )
static CYIFramework* CYIFramework::GetInstance ( )
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 void CYIFramework::SetFrameworkConfiguration ( const CYIFrameworkConfiguration frameworkConfiguration)
static

Sets framework configuration settings. Must be called before first call to GetInstance().


The documentation for this class was generated from the following file: