Tizen Native API
4.0
|
A template for Signals with 1 parameter. More...
Public Member Functions | |
Signal () | |
Default constructor. | |
~Signal () | |
Non-virtual destructor. | |
bool | Empty () const |
Queries whether there are any connected slots. | |
std::size_t | GetConnectionCount () const |
Queries the number of slots. | |
void | Connect (void(*func)(Arg0 arg0)) |
Connects a function. | |
void | Disconnect (void(*func)(Arg0 arg0)) |
Disconnects a function. | |
template<class X > | |
void | Connect (X *obj, void(X::*func)(Arg0 arg0)) |
Connects a member function. | |
template<class X > | |
void | Disconnect (X *obj, void(X::*func)(Arg0 arg0)) |
Disconnects a member function. | |
template<class X > | |
void | Connect (SlotDelegate< X > &delegate, void(X::*func)(Arg0 arg0)) |
Connects a member function. | |
template<class X > | |
void | Disconnect (SlotDelegate< X > &delegate, void(X::*func)(Arg0 arg0)) |
Disconnects a member function. | |
template<class X > | |
void | Connect (ConnectionTrackerInterface *connectionTracker, const X &func) |
Connects a function object. | |
void | Connect (ConnectionTrackerInterface *connectionTracker, FunctorDelegate *delegate) |
Connects a function object using FunctorDelegate. | |
void | Emit (Arg0 arg0) |
Emits the signal. |
A template for Signals with 1 parameter.
Dali::Signal< void(Arg0) >::Signal | ( | ) |
Default constructor.
Dali::Signal< void(Arg0) >::~Signal | ( | ) |
Non-virtual destructor.
void Dali::Signal< void(Arg0) >::Connect | ( | void(*)(Arg0 arg0) | func | ) |
Connects a function.
[in] | func | The function to connect |
void Dali::Signal< void(Arg0) >::Connect | ( | X * | obj, |
void(X::*)(Arg0 arg0) | func | ||
) |
Connects a member function.
[in] | obj | An object which must implement the ConnectionTrackerInterface |
[in] | func | The member function to connect |
void Dali::Signal< void(Arg0) >::Connect | ( | SlotDelegate< X > & | delegate, |
void(X::*)(Arg0 arg0) | func | ||
) |
Connects a member function.
[in] | delegate | A slot delegate |
[in] | func | The member function to connect |
void Dali::Signal< void(Arg0) >::Connect | ( | ConnectionTrackerInterface * | connectionTracker, |
const X & | func | ||
) |
Connects a function object.
[in] | connectionTracker | A connection tracker which can be used to disconnect |
[in] | func | The function object to copy |
void Dali::Signal< void(Arg0) >::Connect | ( | ConnectionTrackerInterface * | connectionTracker, |
FunctorDelegate * | delegate | ||
) |
Connects a function object using FunctorDelegate.
[in] | connectionTracker | A connection tracker which can be used to disconnect |
[in] | delegate | A newly allocated FunctorDelegate (ownership is taken) |
void Dali::Signal< void(Arg0) >::Disconnect | ( | void(*)(Arg0 arg0) | func | ) |
Disconnects a function.
[in] | func | The function to disconnect |
void Dali::Signal< void(Arg0) >::Disconnect | ( | X * | obj, |
void(X::*)(Arg0 arg0) | func | ||
) |
Disconnects a member function.
[in] | obj | An object which must implement the ConnectionTrackerInterface |
[in] | func | The member function to disconnect |
void Dali::Signal< void(Arg0) >::Disconnect | ( | SlotDelegate< X > & | delegate, |
void(X::*)(Arg0 arg0) | func | ||
) |
Disconnects a member function.
[in] | delegate | A slot delegate |
[in] | func | The member function to disconnect |
void Dali::Signal< void(Arg0) >::Emit | ( | Arg0 | arg0 | ) |
Emits the signal.
[in] | arg0 | The first value to pass to callbacks |
bool Dali::Signal< void(Arg0) >::Empty | ( | ) | const |
Queries whether there are any connected slots.
std::size_t Dali::Signal< void(Arg0) >::GetConnectionCount | ( | ) | const |
Queries the number of slots.