[]Jimmy's World.org
Because you all make me very, very tired.
[]
Jimmy's World Games
Not a Member? - Login or Create an Account
[] Monday the 5th of January 2009 @ 06:28pm
News Journal Creative Writing Projects Your JW About

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cJoystickManager Class Reference

#include <cJoystickManager.h>

List of all members.

Public Member Functions

Static Public Member Functions

Friends


Detailed Description

Definition at line 39 of file cJoystickManager.h.


Constructor & Destructor Documentation

n2l::cJoystickManager::~cJoystickManager  ) 
 

Definition at line 8 of file cJoystickManager.cpp.

References n2l::releaseSDLSubSystem(), and n2l::SDLSubSystemInitFlag_Joystick.


Member Function Documentation

void n2l::cJoystickManager::closeJoystick const tUint  iID  ) 
 

This is a tricky one.

Closing a joystick will not invalidate any outstanding references to that joystick. That is, so long as there are open autopointers to that cJoystick reference, the joystick will remain viable.

Warning:
After closing a joystick, reopening it before all outstanding references have gone away will yield an exception.

Definition at line 64 of file cJoystickManager.cpp.

References n2l::asString().

const tString n2l::cJoystickManager::joystickName const tUint  iID  ) 
 

Definition at line 26 of file cJoystickManager.cpp.

References n2l::asString().

Referenced by openJoystick().

const tBool n2l::cJoystickManager::joystickOpened const tUint  iID  ) 
 

Definition at line 54 of file cJoystickManager.cpp.

References n2l::asString().

static cJoystickManager& n2l::cJoystickManager::manager  )  [inline, static]
 

Definition at line 60 of file cJoystickManager.h.

Referenced by n2l::cJoystickButtonEvent::joystick().

const tUint n2l::cJoystickManager::numJoysticks  )  const
 

Definition at line 20 of file cJoystickManager.cpp.

const cAutoPtr< cJoystick > & n2l::cJoystickManager::openJoystick const tUint  iID  ) 
 

Definition at line 35 of file cJoystickManager.cpp.

References n2l::asString(), and joystickName().


Friends And Related Function Documentation

friend class cJoystickButtonEvent [friend]
 

Definition at line 66 of file cJoystickManager.h.


The documentation for this class was generated from the following files:
©2009 Aaron Cameron
Benchmarks