adds additional Information (Name and EventID) to an Event More...
#include <mitkEventDescription.h>
Public Member Functions | |
EventDescription (int type, int button, int buttonState, int key, std::string name, int id) | |
std::string | GetName () const |
int | GetId () const |
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.
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) {}
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;
}