refactor SignalBase and CallbackBase using variadic template. 94/245194/3
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Mon, 5 Oct 2020 07:15:21 +0000 (16:15 +0900)
committerDavid Steele <david.steele@samsung.com>
Wed, 7 Oct 2020 11:48:56 +0000 (12:48 +0100)
commitc8e6983b05d28dfb9fb16dd504bc8ba0ee0b69fe
treec98a86ac565895cbe39c99d7a179f1596be54249
parentc958e44064f73d78b0b041f9289be9e3dce06501
refactor SignalBase and CallbackBase using variadic template.

Variadic template and parameter pack makes the Api list much shorter
and enables for future optimization.

Removed assertion from Callback::Execute if an empty callback has
been setup.

Fixed negative test case.

Change-Id: I11060630ef4b82fc9966610b5c63ef2fa27b3779
automated-tests/src/dali/utc-Dali-SignalTemplates.cpp
dali/public-api/signals/base-signal.cpp
dali/public-api/signals/base-signal.h
dali/public-api/signals/callback.h