Public Member Functions

mitk::EventDescription Class Reference
[Interaction Classes]

adds additional Information (Name and EventID) to an Event More...

#include <mitkEventDescription.h>

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

List of all members.

Public Member Functions

 EventDescription (int type, int button, int buttonState, int key, std::string name, int id)
std::string GetName () const
int GetId () const

Detailed Description

adds additional Information (Name and EventID) to an Event

A name and an ID is added to the information of an event, so the event can be processed futher on.

Definition at line 34 of file mitkEventDescription.h.


Constructor & Destructor Documentation

mitk::EventDescription::EventDescription ( int  type,
int  button,
int  buttonState,
int  key,
std::string  name,
int  id 
)

Definition at line 21 of file mitkEventDescription.cpp.

: Event(NULL, type, button, buttonState, key), m_Name(name), m_Id(id)
{}

Member Function Documentation

int mitk::EventDescription::GetId (  ) const

Definition at line 30 of file mitkEventDescription.cpp.

{
  return m_Id;
}
std::string mitk::EventDescription::GetName (  ) const

Definition at line 25 of file mitkEventDescription.cpp.

{
  return m_Name;
}

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