Tizen Native API  3.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:
3.0, DALi version 1.0.0

Constructor & Destructor Documentation

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

Constructor.

Since:
3.0, 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:
3.0, DALi version 1.0.0

Member Function Documentation

Retrieves the callback.

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

Retrieves the slot observer.

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