[ML][pipeline] Implement Pipeline::state getter 75/250775/12
authorPawel Wasowski <p.wasowski2@samsung.com>
Mon, 4 Jan 2021 09:59:39 +0000 (10:59 +0100)
committerPawel Wasowski <p.wasowski2@samsung.com>
Mon, 18 Jan 2021 09:04:04 +0000 (09:04 +0000)
commitd93afde88134848383dd8843a18c29b2535f5995
tree5de1f2ad921b2f49575fc0ab9d4fc5e0547cf378
parentcc19a7e5900e145c01e9b7ba21c2f2bb76ec42f6
[ML][pipeline] Implement Pipeline::state getter

ACR: TWDAPI-274

[Verification] Tested in Chrome DevTools with the snippets below. Works fine

 var pipeline = tizen.ml.pipeline.createPipeline('videotestsrc ! tizenwlsink',
                  function(state) {console.log(state);})

<wait a few seconds>

pipeline.state

Change-Id: Iae5e70c63d5c9fd98877defe0949024516c8c41d
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
src/ml/js/ml_pipeline.js
src/ml/ml_instance.cc
src/ml/ml_instance.h
src/ml/ml_pipeline.cc
src/ml/ml_pipeline.h
src/ml/ml_pipeline_manager.cc
src/ml/ml_pipeline_manager.h