Improve some components for simple and performance.
authorjyong2.kim <jyong2.kim@samsung.com>
Thu, 3 Mar 2016 07:47:30 +0000 (16:47 +0900)
committerUze Choi <uzchoi@samsung.com>
Sun, 6 Mar 2016 05:29:09 +0000 (05:29 +0000)
commit6aa72c5d16d263641ee17bf65476bbd6be8cb968
treece4b51a333b76450c0c763717f633b7128afb8e7
parente0f78bfc5b32ab8102c9d62c2c1b6a48b7743e54
Improve some components for simple and performance.

This patch is for apply offline code review comments by JungHo.

several method is made by duplicated code.
unnecessary valiable is removed.
lamda functions is used instead std::bind for reduce std::bind.
logic simplify for performance and readable.

Change-Id: Iefb0f4b3ee5ae99201127cd3343ea819f9f7fd3d
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5335
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/scene-manager/src/Scene.cpp
service/scene-manager/src/SceneAction.cpp
service/scene-manager/src/SceneCollectionResource.cpp
service/scene-manager/src/SceneCollectionResource.h
service/scene-manager/src/SceneList.cpp
service/scene-manager/src/SceneListResource.cpp
service/scene-manager/src/SceneListResource.h
service/scene-manager/src/SceneMemberResource.cpp
service/scene-manager/src/SceneMemberResource.h