deOS Class Reference

Interface for Operating System classes. More...

#include <deOS.h>

Inheritance diagram for deOS:
deOSConsole

List of all members.

Public Member Functions

Constructors and Destructors
 deOS ()
 Creates a new operating system object.
virtual ~deOS ()
Management
virtual int GetScreenWidth ()=0
 Retrieves the width of the screen.
virtual int GetScreenHeight ()=0
 Retrieves the height of the screen.
Casting

Safely casts the operating system object to a specific operating system object.

Use only those cast functions and do not cast yourself. If the cast is not possible an exception has to be thrown. The default implementation of the cast functions is to throw an exception. Simply overwrite the matching cast function for your subclass with a simple 'return this;'.

virtual deOSUnix * CastToOSUnix ()
virtual deOSConsoleCastToOSConsole ()
virtual deOSWindows * CastToOSWindows ()
virtual deOSBeOS * CastToOSBeOS ()

Detailed Description

Interface for Operating System classes.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deOS::deOS (  )

Creates a new operating system object.

virtual deOS::~deOS (  ) [virtual]

Member Function Documentation

virtual deOSBeOS* deOS::CastToOSBeOS (  ) [virtual]
virtual deOSConsole* deOS::CastToOSConsole (  ) [virtual]

Reimplemented in deOSConsole.

virtual deOSUnix* deOS::CastToOSUnix (  ) [virtual]
virtual deOSWindows* deOS::CastToOSWindows (  ) [virtual]
virtual int deOS::GetScreenHeight (  ) [pure virtual]

Retrieves the height of the screen.

Implemented in deOSConsole.

virtual int deOS::GetScreenWidth (  ) [pure virtual]

Retrieves the width of the screen.

Implemented in deOSConsole.


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