Added C++ wrapper for the Notification Service Provider and Consumer.
authorAbitha Shankar <abitha.s@samsung.com>
Fri, 22 Jul 2016 09:57:46 +0000 (15:27 +0530)
committerUze Choi <uzchoi@samsung.com>
Tue, 26 Jul 2016 00:38:30 +0000 (00:38 +0000)
commit2d864f42ebbe784250d4d418cb7de7233f1886ac
tree12082faf579335d6e259e5968a51a8e8d6ecbfcd
parent26eb7ee5bbd02822ee8924d3ddb57ad4de125a94
Added C++ wrapper for the Notification Service Provider and Consumer.

1) added wrapper C++ Api's class for NS Provider and NS Resources
2) added wrapper C++ Api's class for NS Consumer
3) added sample applications to test the equivalent functionality from wrapper api's

patch 1 : initial commit for Provider code with Basic API implementation
patch 2 : Updated the code with new design of classes to be in line with API's in android.
patch 3 : Review comments addressed and updated the code.
patch 4 : added appropriate flags for build failure in android
patch 5 : Removed redundant NS prefix and added changes to reduce coupling between Provider classes.
  Added Notification Consumer code changes and test application for the same.
  Refractered the code with respect to folder structure
patch 6 : updated comments
patch 7 : Modified api's for changes in c api's
patch 8 : updated review comments
patch 9 : updated Doxygen comments
patch 10/11 : rebase to latest
patch 12 : review comments changes to rename files with NS* prefix and added Under OIC::Service namespace
patch 13 : added implementation for Message and SyncInfo cb to call appropriate Provider cb.
patch 14 : updated with the latest API changes with respect to refractoring listeners and added logs
patch 15 : updated with RemoteService APIs for Consumer and Provider and rebased to latest.
patch 16 : rebase to latest

Change-Id: I08c49ed2d5b1d351fc94305aa47ba9dfc18a8844
Signed-off-by: Abitha Shankar <abitha.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8635
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
21 files changed:
service/notification/SConscript
service/notification/cpp-wrapper/SConscript [new file with mode: 0755]
service/notification/cpp-wrapper/common/NSMediaContents.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/common/NSMediaContents.h [new file with mode: 0755]
service/notification/cpp-wrapper/common/NSMessage.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/common/NSMessage.h [new file with mode: 0755]
service/notification/cpp-wrapper/common/NSSyncInfo.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/common/NSSyncInfo.h [new file with mode: 0755]
service/notification/cpp-wrapper/consumer/SConscript [new file with mode: 0755]
service/notification/cpp-wrapper/consumer/inc/NSConsumerService.h [new file with mode: 0755]
service/notification/cpp-wrapper/consumer/inc/NSProvider.h [new file with mode: 0755]
service/notification/cpp-wrapper/consumer/src/NSConsumerService.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/consumer/src/NSProvider.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/examples/linux/SConscript [new file with mode: 0755]
service/notification/cpp-wrapper/examples/linux/notificationserviceconsumer.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/examples/linux/notificationserviceprovider.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/provider/SConscript [new file with mode: 0755]
service/notification/cpp-wrapper/provider/inc/NSConsumer.h [new file with mode: 0755]
service/notification/cpp-wrapper/provider/inc/NSProviderService.h [new file with mode: 0755]
service/notification/cpp-wrapper/provider/src/NSConsumer.cpp [new file with mode: 0755]
service/notification/cpp-wrapper/provider/src/NSProviderService.cpp [new file with mode: 0755]