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>

Public Member Functions

virtual ~CYIFramework ()
 
CYITextEngineGetTextEngine ()
 
CYIAssetLoaderGetAssetLoader ()
 
CYIAssetManagerGetAssetManager ()
 
CYIAudioEngineGetAudioEngine ()
 
CYITimeGetTime ()
 
CYITranslationGetTranslation ()
 
CYIThreadPoolsGetThreadPools ()
 
CYISpeechSynthesizerGetSpeechSynthesizer ()
 

Static Public Member Functions

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

Friends

class CYIFrameworkPriv
 

Constructor & Destructor Documentation

◆ ~CYIFramework()

virtual CYIFramework::~CYIFramework ( )
virtual

Member Function Documentation

◆ GetAssetLoader()

CYIAssetLoader* CYIFramework::GetAssetLoader ( )

◆ GetAssetManager()

CYIAssetManager* CYIFramework::GetAssetManager ( )

◆ GetAudioEngine()

CYIAudioEngine* CYIFramework::GetAudioEngine ( )

◆ GetInstance()

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.

◆ GetSpeechSynthesizer()

CYISpeechSynthesizer* CYIFramework::GetSpeechSynthesizer ( )

◆ GetTextEngine()

CYITextEngine* CYIFramework::GetTextEngine ( )

◆ GetThreadPools()

CYIThreadPools* CYIFramework::GetThreadPools ( )

◆ GetTime()

CYITime* CYIFramework::GetTime ( )

◆ GetTranslation()

CYITranslation* CYIFramework::GetTranslation ( )

◆ SetFrameworkConfiguration()

static void CYIFramework::SetFrameworkConfiguration ( const CYIFrameworkConfiguration frameworkConfiguration)
static

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

Friends And Related Function Documentation

◆ CYIFrameworkPriv

friend class CYIFrameworkPriv
friend

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