Keos::CPlatformManager Class Reference

Class which manages the platform settings Keos runs on. More...

#include <KeosPlatformManager.h>

Inheritance diagram for Keos::CPlatformManager:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CPlatformManager ()
 Default constructor.
CTimerCreateTimer ()
 Creates a new Timer instance.
void DestroyTimer (CTimer *pTimer)
 Destroys an instance of a timer.
IConfigDialogCreateConfigDialog ()
 Creates a new instance of a platform-specific config dialog.
void DestroyConfigDialog (IConfigDialog *pDlg)
 Destroys an instance of a platform-specific config dialog.
IErrorDialogCreateErrorDialog ()
 Creates a new instance of a platform-specific error dialog.
void DestroyErrorDialog (IErrorDialog *pDlg)
 Destroys an instance of a platform-specific error dialog.
void GetVideoModeList (StringVector *pList)
 Get the list of video modes (640x480, 800x600, .

Protected Attributes

DLL_CREATETIMER m_pfCreateTimer
DLL_CREATECONFIGDIALOG m_pfCreateConfigDialog
DLL_CREATEERRORDIALOG m_pfCreateErrorDialog
DLL_DESTROYTIMER m_pfDestroyTimer
DLL_DESTROYCONFIGDIALOG m_pfDestroyConfigDialog
DLL_DESTROYERRORDIALOG m_pfDestroyErrorDialog
DLL_GETVIDEOMODELIST m_pfGetVideoModeList

Detailed Description

Class which manages the platform settings Keos runs on.

Definition at line 44 of file KeosPlatformManager.h.


Constructor & Destructor Documentation

Keos::CPlatformManager::CPlatformManager (  ) 

Default constructor.

Definition at line 36 of file KeosPlatformManager.cpp.

References Keos::CDynLib::GetSymbol(), Keos::CSingleton< T >::Instance(), m_pfCreateConfigDialog, m_pfCreateErrorDialog, m_pfCreateTimer, m_pfDestroyConfigDialog, m_pfDestroyErrorDialog, m_pfDestroyTimer, and m_pfGetVideoModeList.


Member Function Documentation

CTimer * Keos::CPlatformManager::CreateTimer (  ) 

Creates a new Timer instance.

Definition at line 53 of file KeosPlatformManager.cpp.

References m_pfCreateTimer.

void Keos::CPlatformManager::DestroyTimer ( CTimer pTimer  ) 

Destroys an instance of a timer.

Parameters:
pTimer Timer to be destroyed.

Definition at line 62 of file KeosPlatformManager.cpp.

References m_pfDestroyTimer.

IConfigDialog * Keos::CPlatformManager::CreateConfigDialog (  ) 

Creates a new instance of a platform-specific config dialog.

Definition at line 68 of file KeosPlatformManager.cpp.

References m_pfCreateConfigDialog.

void Keos::CPlatformManager::DestroyConfigDialog ( IConfigDialog pDlg  ) 

Destroys an instance of a platform-specific config dialog.

Parameters:
pDlg Dialog to be destroyed.

Definition at line 84 of file KeosPlatformManager.cpp.

References m_pfDestroyConfigDialog.

IErrorDialog * Keos::CPlatformManager::CreateErrorDialog (  ) 

Creates a new instance of a platform-specific error dialog.

Definition at line 76 of file KeosPlatformManager.cpp.

References m_pfCreateErrorDialog.

void Keos::CPlatformManager::DestroyErrorDialog ( IErrorDialog pDlg  ) 

Destroys an instance of a platform-specific error dialog.

Parameters:
pDlg Dialog to be destroyed.

Definition at line 90 of file KeosPlatformManager.cpp.

References m_pfDestroyErrorDialog.

void Keos::CPlatformManager::GetVideoModeList ( StringVector pList  ) 

Get the list of video modes (640x480, 800x600, .

..).

Parameters:
pList Fill this list with the video modes availables.

Definition at line 96 of file KeosPlatformManager.cpp.

References m_pfGetVideoModeList.


Member Data Documentation

DLL_CREATETIMER Keos::CPlatformManager::m_pfCreateTimer [protected]

Definition at line 50 of file KeosPlatformManager.h.

Referenced by CPlatformManager(), and CreateTimer().

DLL_CREATECONFIGDIALOG Keos::CPlatformManager::m_pfCreateConfigDialog [protected]

Definition at line 51 of file KeosPlatformManager.h.

Referenced by CPlatformManager(), and CreateConfigDialog().

DLL_CREATEERRORDIALOG Keos::CPlatformManager::m_pfCreateErrorDialog [protected]

Definition at line 52 of file KeosPlatformManager.h.

Referenced by CPlatformManager(), and CreateErrorDialog().

DLL_DESTROYTIMER Keos::CPlatformManager::m_pfDestroyTimer [protected]

Definition at line 54 of file KeosPlatformManager.h.

Referenced by CPlatformManager(), and DestroyTimer().

DLL_DESTROYCONFIGDIALOG Keos::CPlatformManager::m_pfDestroyConfigDialog [protected]

Definition at line 55 of file KeosPlatformManager.h.

Referenced by CPlatformManager(), and DestroyConfigDialog().

DLL_DESTROYERRORDIALOG Keos::CPlatformManager::m_pfDestroyErrorDialog [protected]

Definition at line 56 of file KeosPlatformManager.h.

Referenced by CPlatformManager(), and DestroyErrorDialog().

DLL_GETVIDEOMODELIST Keos::CPlatformManager::m_pfGetVideoModeList [protected]

Definition at line 58 of file KeosPlatformManager.h.

Referenced by CPlatformManager(), and GetVideoModeList().


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:26 2007 for Keos by  doxygen 1.5.1-p1