CInput Class Reference

#include <CInput.h>

Collaboration diagram for CInput:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CInput (void)
 ~CInput (void)
void SetWindowHandle (HWND hWnd)
 Set the window whose input should be received.
void SetInstanceHandle (HINSTANCE hInstance)
 Set the instance of the application.
void SetOptions (COptions *pOptions)
 Set link to options object to use.
void SetTimer (CTimer *pTimer)
 Set link to timer object to use.
bool Create (void)
 Initialize the object.
void Destroy (void)
 Uninitialize the object.
CMainInputGetMainInput (void)
CSDLInputGetDirectInput (void)
CPlayerInputGetPlayerInput (int PlayerInput)
int GetPlayerInputCount (void)

Private Attributes

COptionsm_pOptions
 Link to options object to use.
CTimerm_pTimer
 Link to timer object to use.
CSDLInput m_DirectInput
 SDLInput object managing the DirectInput interface.
CMainInput m_MainInput
 The main input device.
CPlayerInputm_PlayerInput
 Dynamically allocated array of player input devices.


Constructor & Destructor Documentation

CInput::CInput ( void   ) 

Here is the call graph for this function:

CInput::~CInput ( void   ) 


Member Function Documentation

void CInput::SetWindowHandle ( HWND  hWnd  )  [inline]

Set the window whose input should be received.

Here is the call graph for this function:

Here is the caller graph for this function:

void CInput::SetInstanceHandle ( HINSTANCE  hInstance  )  [inline]

Set the instance of the application.

Here is the call graph for this function:

Here is the caller graph for this function:

void CInput::SetOptions ( COptions pOptions  )  [inline]

Set link to options object to use.

Here is the caller graph for this function:

void CInput::SetTimer ( CTimer pTimer  )  [inline]

Set link to timer object to use.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CInput::Create ( void   ) 

Initialize the object.

Here is the call graph for this function:

Here is the caller graph for this function:

void CInput::Destroy ( void   ) 

Uninitialize the object.

Here is the call graph for this function:

Here is the caller graph for this function:

CMainInput & CInput::GetMainInput ( void   )  [inline]

CSDLInput & CInput::GetDirectInput ( void   )  [inline]

CPlayerInput & CInput::GetPlayerInput ( int  PlayerInput  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

int CInput::GetPlayerInputCount ( void   )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Link to options object to use.

Link to timer object to use.

SDLInput object managing the DirectInput interface.

The main input device.

Dynamically allocated array of player input devices.


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

Generated on Sat Oct 18 12:26:46 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo