Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

# Keos::CPlatformManager Class Reference

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

`#include <KeosPlatformManager.h>`

Inheritance diagram for Keos::CPlatformManager:

List of all members.

## Public Member Functions

| CPlatformManager ()
| Default constructor.
CTimer * | CreateTimer ()
| Creates a new Timer instance.
void | DestroyTimer (CTimer *pTimer)
| Destroys an instance of a timer.
IConfigDialog * | CreateConfigDialog ()
| Creates a new instance of a platform-specific config dialog.
void | DestroyConfigDialog (IConfigDialog *pDlg)
| Destroys an instance of a platform-specific config dialog.
IErrorDialog * | CreateErrorDialog ()
| Creates a new instance of a platform-specific error dialog.
void | DestroyErrorDialog (IErrorDialog *pDlg)
| Destroys an instance of a platform-specific error dialog.

## 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

## Private Attributes

friend | CSingleton<CPlatformManager>

## Detailed Description

Class which manages the platform settings Keos runs on.

Definition at line 41 of file KeosPlatformManager.h.

## Constructor & Destructor Documentation

Keos::CPlatformManager::CPlatformManager | ( |  | ) |

| Default constructor. Definition at line 35 of file KeosPlatformManager.cpp. References Keos::CDynLib::GetSymbol(), m_pfCreateConfigDialog, m_pfCreateErrorDialog, m_pfCreateTimer, m_pfDestroyConfigDialog, m_pfDestroyErrorDialog, and m_pfDestroyTimer.

## Member Function Documentation

IConfigDialog * Keos::CPlatformManager::CreateConfigDialog | ( |  | ) |

| Creates a new instance of a platform-specific config dialog. Definition at line 65 of file KeosPlatformManager.cpp. References m_pfCreateConfigDialog.

IErrorDialog * Keos::CPlatformManager::CreateErrorDialog | ( |  | ) |

| Creates a new instance of a platform-specific error dialog. Definition at line 73 of file KeosPlatformManager.cpp. References m_pfCreateErrorDialog.

CTimer * Keos::CPlatformManager::CreateTimer | ( |  | ) |

| Creates a new Timer instance. Definition at line 50 of file KeosPlatformManager.cpp. References m_pfCreateTimer.

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

| Destroys an instance of a platform-specific config dialog.

Parameters:

  | pDlg | Dialog to be destroyed.

Definition at line 81 of file KeosPlatformManager.cpp.

References m_pfDestroyConfigDialog.

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

| Destroys an instance of a platform-specific error dialog.

Parameters:

  | pDlg | Dialog to be destroyed.

Definition at line 87 of file KeosPlatformManager.cpp.

References m_pfDestroyErrorDialog.

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

| Destroys an instance of a timer.

Parameters:

  | pTimer | Timer to be destroyed.

Definition at line 59 of file KeosPlatformManager.cpp.

References m_pfDestroyTimer.

## Member Data Documentation

friend Keos::CPlatformManager::CSingleton<CPlatformManager>`[private]`

| Definition at line 43 of file KeosPlatformManager.h.

DLL_CREATECONFIGDIALOG Keos::CPlatformManager::m_pfCreateConfigDialog`[protected]`

| Definition at line 48 of file KeosPlatformManager.h. Referenced by CPlatformManager(), and CreateConfigDialog().

DLL_CREATEERRORDIALOG Keos::CPlatformManager::m_pfCreateErrorDialog`[protected]`

| Definition at line 49 of file KeosPlatformManager.h. Referenced by CPlatformManager(), and CreateErrorDialog().

DLL_CREATETIMER Keos::CPlatformManager::m_pfCreateTimer`[protected]`

| Definition at line 47 of file KeosPlatformManager.h. Referenced by CPlatformManager(), and CreateTimer().

DLL_DESTROYCONFIGDIALOG Keos::CPlatformManager::m_pfDestroyConfigDialog`[protected]`

| Definition at line 52 of file KeosPlatformManager.h. Referenced by CPlatformManager(), and DestroyConfigDialog().

DLL_DESTROYERRORDIALOG Keos::CPlatformManager::m_pfDestroyErrorDialog`[protected]`

| Definition at line 53 of file KeosPlatformManager.h. Referenced by CPlatformManager(), and DestroyErrorDialog().

DLL_DESTROYTIMER Keos::CPlatformManager::m_pfDestroyTimer`[protected]`

| Definition at line 51 of file KeosPlatformManager.h. Referenced by CPlatformManager(), and DestroyTimer().

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

- KeosEngine/KeosPlatformManager.h
- KeosEngine/KeosPlatformManager.cpp