nnc: Fix PluginProxy interface (#309)
authorVitaliy Cherepanov/AI Tools Lab /SRR/Engineer/삼성전자 <v.cherepanov@samsung.com>
Wed, 6 Jun 2018 07:14:32 +0000 (10:14 +0300)
committerSergey Vostokov/AI Tools Lab /SRR/Staff Engineer/삼성전자 <s.vostokov@samsung.com>
Wed, 6 Jun 2018 07:14:32 +0000 (10:14 +0300)
commit00e1562316ecb222599481b9951cfd836dcac4b9
treeceaeae71b49ad40d4fcda9c82c67118e69c8dc79
parentfea49321925186633d85e1fcd46ecea929ad6934
nnc: Fix PluginProxy interface (#309)

This commit is to fix common plugin interface.

There are some problems to return std::shared_ptr by library "C" interface
also AbstractPluginInstance and plugin *PluginInstance (like SamplePluginInstance) should be a
singleton and std::shared_ptr is unnecessary there.

Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
contrib/nnc/include/module/plugin/PluginProxy.h
contrib/nnc/src/module/AbstractModule.cpp
contrib/nnc/src/module/plugin/PluginManager.cpp
contrib/nnc/src/module/plugin/PluginProxy.cpp