Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Protected Attributes | List of all members
OIS::MacJoyStick Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/mac/MacJoyStick.h>

Inheritance diagram for OIS::MacJoyStick:
OIS::JoyStick OIS::Object

Public Member Functions

 MacJoyStick (const std::string &vendor, bool buffered, HidInfo *info, InputManager *creator, int devID)
 
virtual ~MacJoyStick ()
 
IOHIDQueueInterface ** _createQueue (unsigned int depth=8)
 
void _enumerateCookies ()
 
virtual void _initialize ()
 
virtual void capture ()
 
virtual InterfacequeryInterface (Interface::IType type)
 
virtual void setBuffered (bool buffered)
 
- Public Member Functions inherited from OIS::JoyStick
virtual ~JoyStick ()
 
JoyStickListenergetEventCallback () const
 
const JoyStickStategetJoyStickState () const
 
int getNumberOfComponents (ComponentType cType) const
 
float getVector3Sensitivity () const
 
virtual void setEventCallback (JoyStickListener *joyListener)
 
void setVector3Sensitivity (float degrees=OIS_JOYSTICK_VECTOR3_DEFAULT)
 
- Public Member Functions inherited from OIS::Object
virtual ~Object ()
 
virtual bool buffered () const
 
InputManagergetCreator () const
 
virtual int getID () const
 
Type type () const
 
const std::string & vendor () const
 

Protected Attributes

cookie_struct_t mCookies
 
HidInfomInfo
 
IOHIDQueueInterface ** mQueue
 
- Protected Attributes inherited from OIS::JoyStick
JoyStickListenermListener
 The callback listener. More...
 
int mPOVs
 Number of POVs. More...
 
int mSliders
 Number of sliders. More...
 
JoyStickState mState
 The JoyStickState structure (contains all component values) More...
 
float mVector3Sensitivity
 Adjustment factor for orientation vector accuracy. More...
 
- Protected Attributes inherited from OIS::Object
bool mBuffered
 Buffered flag. More...
 
InputManagermCreator
 The creator who created this object. More...
 
int mDevID
 Not fully implemented yet. More...
 
Type mType
 Type of controller object. More...
 
std::string mVendor
 Vendor name if applicable/known. More...
 

Additional Inherited Members

- Static Public Attributes inherited from OIS::JoyStick
static const int MAX_AXIS = 32767
 The maximum axis value. More...
 
static const int MIN_AXIS = -32768
 The minimal axis value. More...
 
- Protected Member Functions inherited from OIS::JoyStick
 JoyStick (const std::string &vendor, bool buffered, int devID, InputManager *creator)
 
- Protected Member Functions inherited from OIS::Object
 Object (const std::string &vendor, Type iType, bool buffered, int devID, InputManager *creator)
 

Constructor & Destructor Documentation

MacJoyStick::MacJoyStick ( const std::string &  vendor,
bool  buffered,
HidInfo info,
InputManager creator,
int  devID 
)
MacJoyStick::~MacJoyStick ( )
virtual

Member Function Documentation

IOHIDQueueInterface ** MacJoyStick::_createQueue ( unsigned int  depth = 8)
void MacJoyStick::_enumerateCookies ( )
void MacJoyStick::_initialize ( )
virtual

Remarks
Internal... Do not call this directly.

Implements OIS::Object.

void MacJoyStick::capture ( )
virtual

Remarks
Used for updating call once per frame before checking state or to update events

Implements OIS::Object.

Interface * MacJoyStick::queryInterface ( Interface::IType  type)
virtual

Remarks
If available, get an interface to write to some devices. Examples include, turning on and off LEDs, ForceFeedback, etc
Parameters
typeThe type of interface you are looking for

Implements OIS::Object.

void MacJoyStick::setBuffered ( bool  buffered)
virtual

Remarks
Sets buffered mode

Implements OIS::Object.

Member Data Documentation

cookie_struct_t OIS::MacJoyStick::mCookies
protected
HidInfo* OIS::MacJoyStick::mInfo
protected
IOHIDQueueInterface** OIS::MacJoyStick::mQueue
protected

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