Public Types | Public Member Functions

mitk::WiiMoteButtonEvent Class Reference

#include <mitkWiiMoteButtonEvent.h>

Inheritance diagram for mitk::WiiMoteButtonEvent:
Inheritance graph
[legend]
Collaboration diagram for mitk::WiiMoteButtonEvent:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This event type is used for button events triggered by the
the Wiimote driver.

Definition at line 16 of file mitkWiiMoteButtonEvent.h.


Member Typedef Documentation

Definition at line 21 of file mitkWiiMoteButtonEvent.h.

typedef itk::EventObject mitk::WiiMoteButtonEvent::Superclass

Definition at line 22 of file mitkWiiMoteButtonEvent.h.


Constructor & Destructor Documentation

mitk::WiiMoteButtonEvent::WiiMoteButtonEvent ( int  type,
int  button,
int  buttonState,
int  key 
)

Initializes a Wiimote Event, that stores additional information.

See also:
mitk::Event::Event(mitk::BaseRenderer* sender, int type, int button, int buttonState, int key);

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.

{
}

Member Function Documentation

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);
} 

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines