Tizen Native API  4.0
Dali::SlotConnection Class Reference

Slot connection is the connection information held by a connection tracker. More...

Public Member Functions

 SlotConnection (SlotObserver *slotObserver, CallbackBase *callback)
 Constructor.
 ~SlotConnection ()
 Non-virtual destructor, not intended as a base class.
CallbackBaseGetCallback ()
 Retrieves the callback.
SlotObserverGetSlotObserver ()
 Retrieves the slot observer.

Detailed Description

Slot connection is the connection information held by a connection tracker.

A slot can have zero to many connection objects, depending on how many signals it is connected to.

A connection contains:

It holds a pointer to the callback, but does not own it.

Since:
2.4, DALi version 1.0.0

Constructor & Destructor Documentation

Dali::SlotConnection::SlotConnection ( SlotObserver slotObserver,
CallbackBase callback 
)

Constructor.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]slotObserverThe slot observer
[in]callbackA callback object (not owned)

Non-virtual destructor, not intended as a base class.

Since:
2.4, DALi version 1.0.0

Member Function Documentation

Retrieves the callback.

Since:
2.4, DALi version 1.0.0
Returns:
A pointer to the callback

Retrieves the slot observer.

Since:
2.4, DALi version 1.0.0
Returns:
A pointer to the slot observer