Tizen Native API  6.0
Dali::ConnectionTracker Class Reference

Connection tracker concrete implementation. More...

Inheritance diagram for Dali::ConnectionTracker:
Dali::ConnectionTrackerInterface Dali::SignalObserver

Public Member Functions

 ConnectionTracker ()
 Constructor.
virtual ~ConnectionTracker ()
 Virtual destructor.
void DisconnectAll ()
 Disconnects all signals from this object.
virtual void SignalConnected (SlotObserver *slotObserver, CallbackBase *callback)
virtual void SignalDisconnected (SlotObserver *slotObserver, CallbackBase *callback)
std::size_t GetConnectionCount () const
 Returns the connection count.

Detailed Description

Connection tracker concrete implementation.

Since:
2.4, DALi version 1.0.0

Constructor & Destructor Documentation

Constructor.

Since:
2.4, DALi version 1.0.0

Virtual destructor.

Since:
2.4, DALi version 1.0.0

Member Function Documentation

Disconnects all signals from this object.

Since:
2.4, DALi version 1.0.0

Returns the connection count.

Since:
2.4, DALi version 1.0.0
Returns:
The connection count
virtual void Dali::ConnectionTracker::SignalConnected ( SlotObserver slotObserver,
CallbackBase callback 
) [virtual]

Called when a signal is connected.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]slotObserverThe slot observer i.e. a signal. Ownership is not passed
[in]callbackThe call back. Ownership is not passed

Implements Dali::ConnectionTrackerInterface.

virtual void Dali::ConnectionTracker::SignalDisconnected ( SlotObserver slotObserver,
CallbackBase callback 
) [virtual]

This method is called when the signal is disconnecting.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]slotObserverThe signal that has disconnected
[in]callbackThe callback attached to the signal disconnected

Implements Dali::SignalObserver.