Tizen Native API
4.0
|
SignalConnection is the connection information held by the signal. More...
Public Member Functions | |
SignalConnection (CallbackBase *callback) | |
Constructor. | |
SignalConnection (SignalObserver *signalObserver, CallbackBase *callback) | |
Constructor. | |
~SignalConnection () | |
Non-virtual destructor, not intended as a base class. | |
void | Disconnect (SlotObserver *slotObserver) |
Disconnects the signal from the slot. | |
CallbackBase * | GetCallback () |
Retrieves the callback. |
SignalConnection is the connection information held by the signal.
A signal can have zero to many connections, depending on how many slots are connected to this signal.
A connection contains:
It takes ownership of the callback, and will delete it when the connection is destroyed.
Dali::SignalConnection::SignalConnection | ( | CallbackBase * | callback | ) |
Constructor.
[in] | callback | The callback which should be a C function |
Dali::SignalConnection::SignalConnection | ( | SignalObserver * | signalObserver, |
CallbackBase * | callback | ||
) |
Constructor.
[in] | signalObserver | The signal observer |
[in] | callback | Ownership of this callback object is taken |
Non-virtual destructor, not intended as a base class.
void Dali::SignalConnection::Disconnect | ( | SlotObserver * | slotObserver | ) |
Disconnects the signal from the slot.
[in] | slotObserver | The signal disconnecting from the slot |
Retrieves the callback.