OIS::MacMouse Class Reference

#include <src/ois/mac/MacMouse.h>

Inheritance diagram for OIS::MacMouse:

OIS::Mouse OIS::Object

List of all members.

Public Member Functions

virtual void _initialize ()
void _mouseCallback (EventRef theEvent)
virtual void capture ()
 MacMouse (InputManager *creator, bool buffered)
virtual InterfacequeryInterface (Interface::IType type)
virtual void setBuffered (bool buffered)
virtual ~MacMouse ()

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


Constructor & Destructor Documentation

MacMouse::MacMouse ( InputManager creator,
bool  buffered 
)

MacMouse::~MacMouse (  )  [virtual]


Member Function Documentation

void MacMouse::_initialize (  )  [virtual]

void MacMouse::_mouseCallback ( EventRef  theEvent  ) 

void MacMouse::capture (  )  [virtual]

virtual Interface* OIS::MacMouse::queryInterface ( Interface::IType  type  )  [inline, virtual]

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

Implements OIS::Object.

void MacMouse::setBuffered ( bool  buffered  )  [virtual]

Remarks:
Sets buffered mode

Implements OIS::Object.

References OIS::Object::mBuffered.

OSStatus MacMouse::WindowFocusChanged ( EventHandlerCallRef  nextHandler,
EventRef  event,
void *  macMouse 
) [static, protected]

References OIS::E_General, mNeedsToRegainFocus, and OIS_EXCEPT.

Referenced by MacMouse().


Member Data Documentation

bool OIS::MacMouse::mMouseWarped [protected]

Referenced by _initialize(), and _mouseCallback().

EventHandlerRef OIS::MacMouse::mouseEventRef [protected]

Referenced by _initialize(), MacMouse(), and ~MacMouse().

EventHandlerUPP OIS::MacMouse::mouseUPP [protected]

Referenced by _initialize(), MacMouse(), and ~MacMouse().

EventHandlerRef OIS::MacMouse::mWindowFocusHandler [protected]

Referenced by _initialize(), MacMouse(), and ~MacMouse().

EventHandlerUPP OIS::MacMouse::mWindowFocusListener [protected]

Referenced by _initialize(), MacMouse(), and ~MacMouse().


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

Generated on Tue Jul 28 16:22:18 2009 for Orxonox by  doxygen 1.5.6