Added ChildAdded and ChildRemoved signals to Actor 35/175935/4
authorDavid Steele <david.steele@samsung.com>
Fri, 13 Apr 2018 11:37:23 +0000 (12:37 +0100)
committerDavid Steele <david.steele@samsung.com>
Mon, 23 Apr 2018 13:33:24 +0000 (14:33 +0100)
commitaff80077ec8fcc8ea763a327518e1612f1e957dc
tree1783813f17d4646fe1ed0e4a22c6d625839dbc0f
parent9d0ced243021aee7b9fbc9499d60cfc124b6b762
Added ChildAdded and ChildRemoved signals to Actor

Actor currently has OnChildAdded and OnChildRemoved to inform derived classes when
children are added to or removed from the actor. However, there is currently no
mechanism for another object to find out this information. Added signals so that
other objects can listen for this state change.

Note, these signals are sent after the callbacks; if the derived classes choose
to do something odd as a result of the callback, such as reparent the child, the
signal may not reflect truth in the derived parent.

Change-Id: I348bf0a3314baaa6f7b1a1c939e3ce9821f3485a
Signed-off-by: David Steele <david.steele@samsung.com>
automated-tests/src/dali/utc-Dali-Actor.cpp
dali/devel-api/actors/actor-devel.cpp
dali/devel-api/actors/actor-devel.h
dali/internal/event/actors/actor-impl.cpp
dali/internal/event/actors/actor-impl.h