주요 내용으로 건너뛰기

Event

Simple base class for events.

Inherited by: ClickEvent, DragEvent, GestureEvent

Public Types

enumEventType { EVENT_CLICK, EVENT_DRAG, EVENT_GESTURE }
The event types.

Public Functions

virtual EventTypegetEventType() =0
Gets event type.
virtual ~Event()
Finalizes an instance of the Event class.

Public Types Documentation

EventType

The event types.

EVENT_CLICKA click.
EVENT_DRAGA drag.
EVENT_GESTUREA gesture.

Public Functions Documentation

getEventType

virtual EventType getEventType()=0

Gets event type.

Returns:

The type of this event.

Reimplemented by: touchgfx::ClickEvent::getEventType, touchgfx::DragEvent::getEventType, touchgfx::GestureEvent::getEventType

~Event

virtual ~Event()

Finalizes an instance of the Event class.