Go to the documentation of this file.00001 #include "mitkWiiMoteButtonEvent.h"
00002
00003 mitk::WiiMoteButtonEvent::WiiMoteButtonEvent(int type, int button, int buttonState, int key)
00004 : Event(NULL, type, button, buttonState, key)
00005 {
00006 }
00007
00008 mitk::WiiMoteButtonEvent::~WiiMoteButtonEvent()
00009 {
00010 }
00011
00012 const char* mitk::WiiMoteButtonEvent::GetEventName() const
00013 {
00014 return "WiiMoteButtonEvent";
00015 }
00016
00017 bool mitk::WiiMoteButtonEvent::CheckEvent(const itk::EventObject *e) const
00018 {
00019 return dynamic_cast<const Self*>(e);
00020 }
00021
00022 itk::EventObject* mitk::WiiMoteButtonEvent::MakeObject() const
00023 {
00024 return new Self(m_Type, m_Button, m_ButtonState, m_Key);
00025 }