Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::KeyEventProcessor Class Reference

KeyEventProcessor receives the filtered key events from the Dali Event processor. More...

#include <key-event-processor.h>

Collaboration diagram for Dali::Internal::KeyEventProcessor:
Collaboration graph
[legend]

Public Member Functions

 KeyEventProcessor (Stage &stage)
 Create a Key event processor. More...
 
 ~KeyEventProcessor ()
 Non-virtual destructor; KeyEventProcessor is not a base class. More...
 
void ProcessKeyEvent (const Integration::KeyEvent &event)
 This function is called by the event processor whenever a key event occurs. More...
 

Private Member Functions

 KeyEventProcessor (const KeyEventProcessor &)
 
KeyEventProcessoroperator= (const KeyEventProcessor &rhs)
 

Private Attributes

StagemStage
 Used to deliver touch events. More...
 

Detailed Description

KeyEventProcessor receives the filtered key events from the Dali Event processor.

When a key event is received the KeyEvent Processor queries the Stage to get the actor in focus. Any actor can be set by the actor api to be the focus of key events. The actor is then sent the key event. If no actor is set for focus then the key event is discarded.

Definition at line 41 of file key-event-processor.h.

Constructor & Destructor Documentation

Dali::Internal::KeyEventProcessor::KeyEventProcessor ( Stage stage)

Create a Key event processor.

Definition at line 33 of file key-event-processor.cpp.

Dali::Internal::KeyEventProcessor::~KeyEventProcessor ( )

Non-virtual destructor; KeyEventProcessor is not a base class.

Definition at line 38 of file key-event-processor.cpp.

Dali::Internal::KeyEventProcessor::KeyEventProcessor ( const KeyEventProcessor )
private

Member Function Documentation

KeyEventProcessor& Dali::Internal::KeyEventProcessor::operator= ( const KeyEventProcessor rhs)
private
void Dali::Internal::KeyEventProcessor::ProcessKeyEvent ( const Integration::KeyEvent &  event)

This function is called by the event processor whenever a key event occurs.

Parameters
[in]eventThe key event that has occurred.

Definition at line 42 of file key-event-processor.cpp.

References Dali::Internal::Stage::EmitKeyEventSignal(), and mStage.

Referenced by Dali::Internal::EventProcessor::ProcessEvents().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Stage& Dali::Internal::KeyEventProcessor::mStage
private

Used to deliver touch events.

Definition at line 71 of file key-event-processor.h.

Referenced by ProcessKeyEvent().


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali