#include <mitkWiiMoteButtonEvent.h>
Public Types | |
typedef WiiMoteButtonEvent | Self |
typedef itk::EventObject | Superclass |
Public Member Functions | |
WiiMoteButtonEvent (int type, int button, int buttonState, int key) | |
~WiiMoteButtonEvent () | |
const char * | GetEventName () const |
bool | CheckEvent (const ::itk::EventObject *e) const |
::itk::EventObject * | MakeObject () const |
This event type is used for button events triggered by the
the Wiimote driver.
Definition at line 16 of file mitkWiiMoteButtonEvent.h.
Definition at line 21 of file mitkWiiMoteButtonEvent.h.
typedef itk::EventObject mitk::WiiMoteButtonEvent::Superclass |
Definition at line 22 of file mitkWiiMoteButtonEvent.h.
mitk::WiiMoteButtonEvent::WiiMoteButtonEvent | ( | int | type, |
int | button, | ||
int | buttonState, | ||
int | key | ||
) |
Initializes a Wiimote Event, that stores additional information.
Definition at line 3 of file mitkWiiMoteButtonEvent.cpp.
: Event(NULL, type, button, buttonState, key) { }
mitk::WiiMoteButtonEvent::~WiiMoteButtonEvent | ( | ) |
Definition at line 8 of file mitkWiiMoteButtonEvent.cpp.
{ }
bool mitk::WiiMoteButtonEvent::CheckEvent | ( | const ::itk::EventObject * | e ) | const |
const char * mitk::WiiMoteButtonEvent::GetEventName | ( | ) | const |
Definition at line 12 of file mitkWiiMoteButtonEvent.cpp.
{ return "WiiMoteButtonEvent"; }
itk::EventObject * mitk::WiiMoteButtonEvent::MakeObject | ( | ) | const |
Definition at line 22 of file mitkWiiMoteButtonEvent.cpp.
Referenced by mitk::WiiMoteThread::WiiMoteButtonPressed().
{ return new Self(m_Type, m_Button, m_ButtonState, m_Key); }