Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::DDDriverList Class Reference

Encapsulates enumeration of DirectDraw drivers. More...

#include <OgreDDDriverList.h>

List of all members.

Public Methods

 DDDriverList ()
 ~DDDriverList ()
BOOL enumerate (void)
DDDriveritem (int index)
 Returns the item at the specified position. More...

unsigned int count (void) const

Private Methods

void AddDriver (GUID FAR *lpGuid, LPSTR lpDriverDesc, LPSTR lpDriverName)

Private Attributes

std::vector< DDDrivermDriverList

Friends

BOOL WINAPI DDEnumCallbackEx (GUID FAR *lpGUID, LPSTR lpDriverDescription, LPSTR lpDriverName, LPVOID lpContext, HMONITOR hm)
BOOL WINAPI DDEnumCallback (GUID FAR *lpGUID, LPSTR lpDriverDescription, LPSTR lpDriverName, LPVOID lpContext)


Detailed Description

Encapsulates enumeration of DirectDraw drivers.

Utility class for D3DRenderSystem.


Constructor & Destructor Documentation

Ogre::DDDriverList::DDDriverList  
 

Ogre::DDDriverList::~DDDriverList  
 


Member Function Documentation

void Ogre::DDDriverList::AddDriver GUID FAR *    lpGuid,
LPSTR    lpDriverDesc,
LPSTR    lpDriverName
[private]
 

unsigned int Ogre::DDDriverList::count void    const
 

BOOL Ogre::DDDriverList::enumerate void   
 

DDDriver * Ogre::DDDriverList::item int    index
 

Returns the item at the specified position.

Throws an std::out_of_range if the index is greater then the size.


Friends And Related Function Documentation

BOOL WINAPI DDEnumCallback GUID FAR *    lpGUID,
LPSTR    lpDriverDescription,
LPSTR    lpDriverName,
LPVOID    lpContext
[friend]
 

BOOL WINAPI DDEnumCallbackEx GUID FAR *    lpGUID,
LPSTR    lpDriverDescription,
LPSTR    lpDriverName,
LPVOID    lpContext,
HMONITOR    hm
[friend]
 


Member Data Documentation

std::vector<DDDriver> Ogre::DDDriverList::mDriverList [private]
 

Copyright © 2002 by The OGRE Team