주요 내용으로 건너뛰기

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

Event()
Default constructor.
virtual EventTypegetEventType() const =0
Gets event type.
virtual ~Event()
Destructor.

Public Types Documentation

EventType

The event types.

EVENT_CLICKA click.
EVENT_DRAGA drag.
EVENT_GESTUREA gesture.

Public Functions Documentation

Event

Default constructor.

getEventType

virtual EventType getEventType()const =0

Gets event type.

Returns:

The type of this event.

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

~Event

virtual ~Event()

Destructor.