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

Connection tracker concrete implementation .0. More...

#include <connection-tracker.h>

Inheritance diagram for Dali::ConnectionTracker:
Inheritance graph
[legend]
Collaboration diagram for Dali::ConnectionTracker:
Collaboration graph
[legend]

Public Member Functions

 ConnectionTracker ()
 Constructor. More...
 
virtual ~ConnectionTracker ()
 Virtual destructor. More...
 
void DisconnectAll ()
 Disconnect all signals from this object. More...
 
virtual void SignalConnected (SlotObserver *slotObserver, CallbackBase *callback)
 Called when a signal is connected. More...
 
virtual void SignalDisconnected (SlotObserver *slotObserver, CallbackBase *callback)
 This method is called when the signal is disconnecting. More...
 
std::size_t GetConnectionCount () const
 returns the connection count .0 More...
 
- Public Member Functions inherited from Dali::ConnectionTrackerInterface
 ConnectionTrackerInterface ()
 Constructor. More...
 
virtual ~ConnectionTrackerInterface ()
 Virtual destructor. More...
 
- Public Member Functions inherited from Dali::SignalObserver
 SignalObserver ()
 Constructor. More...
 
virtual ~SignalObserver ()
 Virtual destructor. More...
 

Private Member Functions

 ConnectionTracker (const ConnectionTracker &)
 undefined copy constructor .0 More...
 
ConnectionTrackeroperator= (const ConnectionTracker &)
 undefined assignment operator .0 More...
 

Private Attributes

Dali::Vector< SlotConnection * > mConnections
 Vector of connection pointers. More...
 

Detailed Description

Connection tracker concrete implementation .0.

Definition at line 41 of file connection-tracker.h.

Constructor & Destructor Documentation

ConnectionTracker::ConnectionTracker ( )

Constructor.

.0

Definition at line 28 of file connection-tracker.cpp.

ConnectionTracker::~ConnectionTracker ( )
virtual

Virtual destructor.

.0

Definition at line 32 of file connection-tracker.cpp.

References DisconnectAll().

Here is the call graph for this function:

Dali::ConnectionTracker::ConnectionTracker ( const ConnectionTracker )
private

undefined copy constructor .0

Member Function Documentation

void ConnectionTracker::DisconnectAll ( )
std::size_t ConnectionTracker::GetConnectionCount ( ) const

returns the connection count .0

Returns
the connection count

Definition at line 85 of file connection-tracker.cpp.

References mConnections.

Referenced by Dali::SlotDelegate< Dali::Internal::RelayoutController >::GetConnectionCount(), UtcConnectionTrackerConstructorP(), and UtcDaliBaseHandleConnectSignal().

Here is the caller graph for this function:

ConnectionTracker& Dali::ConnectionTracker::operator= ( const ConnectionTracker )
private

undefined assignment operator .0

void ConnectionTracker::SignalConnected ( SlotObserver slotObserver,
CallbackBase callback 
)
virtual

Called when a signal is connected.

.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.

Definition at line 54 of file connection-tracker.cpp.

References mConnections.

Referenced by Dali::Toolkit::Internal::Control::SignalConnected().

Here is the caller graph for this function:

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

This method is called when the signal is disconnecting.

.0

Parameters
[in]slotObserverThe signal that has disconnected.
[in]callbackThe callback attached to the signal disconnected.

Implements Dali::SignalObserver.

Definition at line 60 of file connection-tracker.cpp.

References DALI_ASSERT_ALWAYS, Dali::SlotConnection::GetCallback(), and mConnections.

Referenced by Dali::Toolkit::Internal::Control::SignalDisconnected(), and UtcConnectionTrackerSignalDisconnectN().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Dali::Vector< SlotConnection* > Dali::ConnectionTracker::mConnections
private

Vector of connection pointers.

Definition at line 87 of file connection-tracker.h.

Referenced by DisconnectAll(), GetConnectionCount(), SignalConnected(), and SignalDisconnected().


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