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

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

Inheritance diagram for OIS::MacMouse:
OIS::Mouse OIS::Object

Public Member Functions

 MacMouse (InputManager *creator, bool buffered)
 
virtual ~MacMouse ()
 
virtual void _initialize ()
 
void _mouseCallback (EventRef theEvent)
 
virtual void capture ()
 
virtual InterfacequeryInterface (Interface::IType type)
 
virtual void setBuffered (bool buffered)
 
- Public Member Functions inherited from OIS::Mouse
virtual ~Mouse ()
 
MouseListenergetEventCallback () const
 
const MouseStategetMouseState () const
 
virtual void setEventCallback (MouseListener *mouseListener)
 
- 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
 

Static Protected Member Functions

static OSStatus WindowFocusChanged (EventHandlerCallRef nextHandler, EventRef event, void *macMouse)
 

Protected Attributes

bool mMouseWarped
 
bool mNeedsToRegainFocus
 
EventHandlerRef mouseEventRef
 
EventHandlerUPP mouseUPP
 
MouseState mTempState
 
EventHandlerRef mWindowFocusHandler
 
EventHandlerUPP mWindowFocusListener
 
- Protected Attributes inherited from OIS::Mouse
MouseListenermListener
 Used for buffered/actionmapping callback. More...
 
MouseState mState
 The state of the mouse. 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

- Protected Member Functions inherited from OIS::Mouse
 Mouse (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

MacMouse::MacMouse ( InputManager creator,
bool  buffered 
)
MacMouse::~MacMouse ( )
virtual

Member Function Documentation

void MacMouse::_initialize ( )
virtual

Remarks
Internal... Do not call this directly.

Implements OIS::Object.

void MacMouse::_mouseCallback ( EventRef  theEvent)
void MacMouse::capture ( )
virtual

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

Implements OIS::Object.

virtual Interface* OIS::MacMouse::queryInterface ( Interface::IType  type)
inlinevirtual

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 MacMouse::setBuffered ( bool  buffered)
virtual

Remarks
Sets buffered mode

Implements OIS::Object.

OSStatus MacMouse::WindowFocusChanged ( EventHandlerCallRef  nextHandler,
EventRef  event,
void macMouse 
)
staticprotected

Member Data Documentation

bool OIS::MacMouse::mMouseWarped
protected
bool OIS::MacMouse::mNeedsToRegainFocus
protected
EventHandlerRef OIS::MacMouse::mouseEventRef
protected
EventHandlerUPP OIS::MacMouse::mouseUPP
protected
MouseState OIS::MacMouse::mTempState
protected
EventHandlerRef OIS::MacMouse::mWindowFocusHandler
protected
EventHandlerUPP OIS::MacMouse::mWindowFocusListener
protected

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