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

#include <physical-keyboard-impl.h>

Inheritance diagram for Dali::Internal::Adaptor::PhysicalKeyboard:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::Adaptor::PhysicalKeyboard:
Collaboration graph
[legend]

Public Member Functions

bool IsAttached () const
  More...
 
void KeyReceived (bool fromPhysicalKeyboard)
 Should be called by the EventHandler when a key is received. More...
 
Dali::PhysicalKeyboard::PhysicalKeyboardSignalTypeStatusChangedSignal ()
  More...
 
 PhysicalKeyboard ()
 
 ~PhysicalKeyboard ()
 
bool IsAttached () const
 
Dali::PhysicalKeyboard::PhysicalKeyboardSignalTypeStatusChangedSignal ()
 
- Public Member Functions inherited from Dali::BaseObject
template<class T >
bool ConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, const T &functor)
 Connects a void() functor to a specified signal. More...
 
bool DoAction (const std::string &actionName, const Property::Map &attributes)
 Perform action on this object with the given action name and attributes. More...
 
const std::string & GetTypeName () const
 Returns the type name for the Handle. More...
 
bool GetTypeInfo (Dali::TypeInfo &info) const
 Returns the type info for the Handle. More...
 
bool DoConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, FunctorDelegate *functorDelegate)
 Not intended for application developers. More...
 
- Public Member Functions inherited from Dali::RefObject
void Reference ()
 Increment the object's reference count. More...
 
void Unreference ()
 Decrement the object's reference count. More...
 
int ReferenceCount ()
 Retrieve the object's reference count. More...
 

Static Public Member Functions

static Dali::PhysicalKeyboard New ()
 Creates a new instance of the PhysicalKeyboard. More...
 
static Dali::PhysicalKeyboard Get ()
 Gets the singleton instance of the Physical Keyboard. More...
 
static Dali::PhysicalKeyboard Get ()
 

Protected Member Functions

virtual ~PhysicalKeyboard ()
 A reference counted object may only be deleted by calling Unreference() More...
 
- Protected Member Functions inherited from Dali::BaseObject
 BaseObject ()
 Default constructor. More...
 
virtual ~BaseObject ()
 A reference counted object may only be deleted by calling Unreference(). More...
 
void RegisterObject ()
 Registers the object as created with the Object registry. More...
 
void UnregisterObject ()
 Unregisters the object from Object registry. More...
 
- Protected Member Functions inherited from Dali::RefObject
 RefObject ()
 Default constructor. More...
 
virtual ~RefObject ()
 RefObject is intended as a base class. More...
 
 RefObject (const RefObject &rhs)
 Copy constructor. More...
 
RefObjectoperator= (const RefObject &rhs)
 Assignment operator. More...
 

Private Member Functions

 PhysicalKeyboard (const PhysicalKeyboard &)
 
PhysicalKeyboardoperator= (PhysicalKeyboard &)
 
 PhysicalKeyboard ()
 Constructor. More...
 

Private Attributes

Dali::PhysicalKeyboard::PhysicalKeyboardSignalType mStatusChangedSignal
 Status changed signal. More...
 
bool mAttached
 true if the physical keyboard is attached, false otherwise More...
 
bool mIsAttached
 

Static Private Attributes

static Dali::PhysicalKeyboard mPhysicalKeyboard
 

Detailed Description

Definition at line 36 of file physical-keyboard-impl.h.

Constructor & Destructor Documentation

Dali::Internal::Adaptor::PhysicalKeyboard::~PhysicalKeyboard ( )
protectedvirtual

A reference counted object may only be deleted by calling Unreference()

Definition at line 83 of file physical-keyboard-impl.cpp.

Dali::Internal::Adaptor::PhysicalKeyboard::PhysicalKeyboard ( const PhysicalKeyboard )
private
Dali::Internal::Adaptor::PhysicalKeyboard::PhysicalKeyboard ( )
private

Constructor.

Definition at line 87 of file physical-keyboard-impl.cpp.

Referenced by New().

Here is the caller graph for this function:

Dali::Internal::Adaptor::PhysicalKeyboard::PhysicalKeyboard ( )
Dali::Internal::Adaptor::PhysicalKeyboard::~PhysicalKeyboard ( )

Member Function Documentation

static Dali::PhysicalKeyboard Dali::Internal::Adaptor::PhysicalKeyboard::Get ( )
static
Dali::PhysicalKeyboard Dali::Internal::Adaptor::PhysicalKeyboard::Get ( )
static

Gets the singleton instance of the Physical Keyboard.

Definition at line 49 of file physical-keyboard-impl.cpp.

References Dali::Internal::Adaptor::SingletonService::Get(), Dali::BaseHandle::GetObjectPtr(), and Dali::SingletonService::GetSingleton().

Referenced by Dali::PhysicalKeyboard::Get().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::Adaptor::PhysicalKeyboard::IsAttached ( ) const
bool Dali::Internal::Adaptor::PhysicalKeyboard::IsAttached ( ) const

Definition at line 67 of file physical-keyboard-impl.cpp.

References mAttached.

Referenced by Dali::PhysicalKeyboard::IsAttached().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::PhysicalKeyboard::KeyReceived ( bool  fromPhysicalKeyboard)

Should be called by the EventHandler when a key is received.

If it's received from a physical keyboard then the parameter should be true.

Parameters
[in]fromPhysicalKeyboardtrue if received from a physical keyboard, false otherwise.

Definition at line 72 of file physical-keyboard-impl.cpp.

References mAttached, and mStatusChangedSignal.

Dali::PhysicalKeyboard Dali::Internal::Adaptor::PhysicalKeyboard::New ( )
static

Creates a new instance of the PhysicalKeyboard.

Definition at line 35 of file physical-keyboard-impl.cpp.

References Dali::Internal::Adaptor::SingletonService::Get(), PhysicalKeyboard(), and Dali::SingletonService::Register().

Here is the call graph for this function:

PhysicalKeyboard& Dali::Internal::Adaptor::PhysicalKeyboard::operator= ( PhysicalKeyboard )
private
Dali::PhysicalKeyboard::PhysicalKeyboardSignalType& Dali::Internal::Adaptor::PhysicalKeyboard::StatusChangedSignal ( )
Dali::PhysicalKeyboard::PhysicalKeyboardSignalType & Dali::Internal::Adaptor::PhysicalKeyboard::StatusChangedSignal ( )
inline

Definition at line 67 of file physical-keyboard-impl.h.

References mStatusChangedSignal.

Referenced by Dali::PhysicalKeyboard::StatusChangedSignal().

Here is the caller graph for this function:

Member Data Documentation

bool Dali::Internal::Adaptor::PhysicalKeyboard::mAttached
private

true if the physical keyboard is attached, false otherwise

Definition at line 90 of file physical-keyboard-impl.h.

Referenced by IsAttached(), and KeyReceived().

bool Dali::Internal::Adaptor::PhysicalKeyboard::mIsAttached
private

Definition at line 50 of file toolkit-physical-keyboard.cpp.

Dali::PhysicalKeyboard Dali::Internal::Adaptor::PhysicalKeyboard::mPhysicalKeyboard
staticprivate

Definition at line 51 of file toolkit-physical-keyboard.cpp.

Dali::PhysicalKeyboard::PhysicalKeyboardSignalType Dali::Internal::Adaptor::PhysicalKeyboard::mStatusChangedSignal
private

Status changed signal.

Definition at line 89 of file physical-keyboard-impl.h.

Referenced by KeyReceived(), and StatusChangedSignal().


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