## class OSGPRODUCER_EXPORT osgProducer::KeyboardMouseCallback

## Inheritance:

### Public Methods

KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true)
virtual ~KeyboardMouseCallback()
virtual void mouseScroll( Producer::KeyboardMouseCallback::ScrollingMotion sm )
virtual void mouseMotion( float mx, float my)
virtual void passiveMouseMotion( float mx, float my)
virtual void buttonPress( float mx, float my, unsigned int mbutton )
virtual void doubleButtonPress( float mx, float my, unsigned int mbutton)
virtual void buttonRelease( float mx, float my, unsigned int mbutton )
virtual void keyPress( Producer::KeyCharacter key )
virtual void keyRelease( Producer::KeyCharacter key )
virtual void specialKeyPress( Producer::KeyCharacter key)
virtual void specialKeyRelease( Producer::KeyCharacter key)
virtual void shutdown()
void setEscapeSetDone(bool esc)
bool getEscapeSetDone() const
void getEventQueue(EventQueue& queue)
bool done()
float mx()
float my()
unsigned int mbutton()
void setStartTick(osg::Timer_t tick)
double getTime()
Producer::KeyboardMouse* getKeyboardMouse()
const Producer::KeyboardMouse* getKeyboardMouse() const
EventAdapter* createEventAdapter()

### Public Members

typedef std::vector< osg::ref_ptr<EventAdapter> > EventQueue

### Protected Fields

Producer::KeyboardMouse* _keyboardMouse
float _mx
float _my
unsigned int _mbutton
bool& _done
bool _escapeKeySetsDone
osg::Timer_t _startTick
osg::Timer _timer
OpenThreads::Mutex _eventQueueMutex
EventQueue _eventQueue

## Documentation

`KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true)`

`virtual ~KeyboardMouseCallback()`

`virtual void mouseScroll( Producer::KeyboardMouseCallback::ScrollingMotion sm )`

`virtual void mouseMotion( float mx, float my)`

`virtual void passiveMouseMotion( float mx, float my)`

`virtual void buttonPress( float mx, float my, unsigned int mbutton )`

`virtual void doubleButtonPress( float mx, float my, unsigned int mbutton)`

`virtual void buttonRelease( float mx, float my, unsigned int mbutton )`

`virtual void keyPress( Producer::KeyCharacter key )`

`virtual void keyRelease( Producer::KeyCharacter key )`

`virtual void specialKeyPress( Producer::KeyCharacter key)`

`virtual void specialKeyRelease( Producer::KeyCharacter key)`

`virtual void shutdown()`

`void setEscapeSetDone(bool esc)`

`bool getEscapeSetDone() const`

`typedef std::vector< osg::ref_ptr<EventAdapter> > EventQueue`

`void getEventQueue(EventQueue& queue)`

`bool done()`

`float mx()`

`float my()`

`unsigned int mbutton()`

`void setStartTick(osg::Timer_t tick)`

`double getTime()`

`Producer::KeyboardMouse* getKeyboardMouse()`

`const Producer::KeyboardMouse* getKeyboardMouse() const`

`EventAdapter* createEventAdapter()`

`Producer::KeyboardMouse* _keyboardMouse`

`float _mx`

`float _my`

`unsigned int _mbutton`

`bool& _done`

`bool _escapeKeySetsDone`

`osg::Timer_t _startTick`

`osg::Timer _timer`

`OpenThreads::Mutex _eventQueueMutex`

`EventQueue _eventQueue`

This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java

This page was generated with the help of DOC++.